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
[tex]\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),[/tex]
but I'm not sure if this would be considered acceptable mathematical notation.
[tex]\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),[/tex]
but I'm not sure if this would be considered acceptable mathematical notation.