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

  • Thread starter Thread starter bruno67
  • Start date Start date
  • Tags Tags
    Function
Click For Summary
The discussion centers on finding a shorthand notation for an indicator function that equals 1 for even positive integers and 0 for odd integers. Suggestions include using mathematical expressions like \mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n) and \frac{(-1)^n+ 1}{2}. Another playful suggestion is δ(sin(nπ)). The participants are evaluating the acceptability and clarity of these notations in mathematical contexts. The conversation highlights the need for concise yet clear representations of mathematical functions.
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

\mathbb{1}_{\{\mathrm{mod}(n,2)=0\}}(n),
but I'm not sure if this would be considered acceptable mathematical notation.
 
Mathematics news on Phys.org
What about
\frac{(-1)^n+ 1}{2}
 
(1 + (-1)n)/2 ?

δ(sin(nπ)) ? :smile:
 
Thanks!
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 28 ·
Replies
28
Views
5K
  • · Replies 3 ·
Replies
3
Views
774
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K