Name of the $(-1)^n$ function?

227 Views Asked by At

Does the function $f\left(n\right)=\left(-1\right)^n, n \in \mathbb{Z}$ used in a lot of mathematical formulas have a special name ?

EDIT: The context of this question is that I need a name for this function in a software.

1

There are 1 best solutions below

8
On BEST ANSWER

Not really. One just writes it out like that, for example, $$\sum (-1)^n\cdot a^n$$

not $$\sum \operatorname{some\;name}(n)\cdot a^n$$

Just imagine how cumbersome things would get!

ADD If you need a name for it, choose a sensible one and make it clear. I'd take $\text{alt}(n)$.