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.
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.
Copyright © 2021 JogjaFile Inc.
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)$.