Is there a shorthand for an indicator function of a positive integer?

  • Context: Graduate 
  • Thread starter Thread starter bruno67
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 5K views
bruno67
Messages
32
Reaction score
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.
 
Physics news on Phys.org