Is there an expression that results in -1 or 1 for these values of n:
1 -> -1
2 -> -1
3 -> 1
4 -> 1
5 -> -1
6 -> -1
7 -> 1
8 -> 1
9 -> -1
10 -> -1
etc.
My book has something that does not work correctly.
Is there an expression that results in -1 or 1 for these values of n:
1 -> -1
2 -> -1
3 -> 1
4 -> 1
5 -> -1
6 -> -1
7 -> 1
8 -> 1
9 -> -1
10 -> -1
etc.
My book has something that does not work correctly.
$\displaystyle a_n = \left( { - 1} \right)^{\left\lfloor {\frac{{n + 1}}{2}} \right\rfloor } $ where $\displaystyle \left\lfloor {\frac{{n + 1}}{2}} \right\rfloor$ is the floor function (greatest integer function).
Is there an expression that results in -1 or 1 for these values of n:
1 -> -1
2 -> -1
3 -> 1
4 -> 1
5 -> -1
6 -> -1
7 -> 1
8 -> 1
9 -> -1
10 -> -1
etc.
My book has something that does not work correctly.
I am 'enthusiast' of circular functions so that I propose...