A336336 Squared distance from start of a point moving in a square spiral.
0, 1, 2, 1, 2, 1, 2, 1, 2, 5, 4, 5, 8, 5, 4, 5, 8, 5, 4, 5, 8, 5, 4, 5, 8, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 25, 20, 17, 16, 17, 20, 25, 32, 25, 20, 17, 16, 17, 20, 25, 32, 25, 20, 17, 16, 17, 20, 25, 32
Offset: 1
Keywords
Links
- Hugo Pfoertner, Table of n, a(n) for n = 1..10000
- N. J. A. Sloane, Sketch showing first 49 cells (numbered in black, starting at 0) of the square spiral and the corresponding squared distances from the origin (red). (This illustration assumes the sequence has offset 0.)
Comments