OFFSET
0,5
EXAMPLE
y
|
4 | 56
| \
| \
| \
3 | 30 55
| / \ \
| / \ \
| / \ \
2 | 31 12 29 54
| / / \ \ \
| / / \ \ \
| / / \ \ \
1 | 32 13 2 11 28 53
| / / / \ \ \ \
| / / / \ \ \ \
| / / / \ \ \ \
0 | 33 14 3 0---1 10 27 52
| / / / \ \ \
| / / / \ \ \
| / / / \ \ \
-1 | 34 15 4---5---6---7---8---9 26 51
| / / \ \
| / / \ \
| / / \ \
-2 | 35 16--17--18--19--20--21--22--23--24--25 50
| / \
| / \
| / \
-3 | 36--37--38--39--40--41--42--43--44--45--46--47--48--49
|
+--------------------------------------------------------
x: -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7
Count as follows. Start at n=0 with coordinates (0,0). So first term is 0.
Next step is to move to n=1 with coordinates (1,0) resulting in sum=1. So the sequence begins 0,1,...
Next step is to move to n=2 with coordinates (0,1) resulting in sum=1. So the sequence begins 0,1,1,...
Next step is to move to n=3 with coordinates (-1,0) resulting in sum=-1. So the sequence begins 0,1,1,1,...
Next step is to move to n=4 with coordinates (-2,-1) resulting in sum=-3. So the sequence begins 0,1,1,-1,-3,...
and so on.
CROSSREFS
KEYWORD
sign
AUTHOR
Hans G. Oberlack, Apr 07 2021
STATUS
approved