bruno67
- 32
- 0
Is there a convenient shorthand for an "indicator function" of a positive integer n which vanishes if n is odd and is equal to 1 otherwise? I was thinking about something like
\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),
but I'm not sure if this would be considered acceptable mathematical notation.
\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),
but I'm not sure if this would be considered acceptable mathematical notation.