Michael M. answered 03/13/21
Math, Chem, Physics, Tutoring with Michael ("800" SAT math)
Notice that the absolute value of the integers is approximately twice as much as the corresponding natural numbers. Thus if we divide the natural numbers by 2 we get approximately the integer set.
N/2 Z
0.5 0
1 1
1.5 -1
2 2
2.5 -2
3 3
3.5 -3
If we take the floor function of the N/2 column, we get the absolute value of the integer set.
floor(N/2) Z
0 0
1 1
1 -1
2 2
2 -2
3 3
3 -3
The integers alternate from positive to negative, thus f(n) = floor(n/2) * (-1)n