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
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
What about
[tex]\frac{(-1)^n+ 1}{2}[/tex]
 
(1 + (-1)n)/2 ?

δ(sin(nπ)) ? :smile:
 
Thanks!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
27
Views
4K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
20
Views
3K