login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A232114 a(n) is the Manhattan distance between n and n^2 in a square spiral of positive integers with 1 at the center. 4
0, 2, 2, 2, 6, 4, 6, 8, 6, 12, 8, 12, 12, 12, 16, 12, 20, 14, 20, 18, 20, 22, 20, 26, 20, 30, 22, 30, 26, 30, 30, 30, 34, 30, 38, 30, 42, 32, 42, 36, 42, 40, 42, 44, 42, 48, 42, 52, 42, 56, 44, 56, 48, 56, 52, 56, 56, 56, 60, 56, 64, 56, 68, 56, 72, 58, 72, 62, 72, 66 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Spiral begins:
.
49 26--27--28--29--30--31
| | |
48 25 10--11--12--13 32
| | | | |
47 24 9 2---3 14 33
| | | | | | |
46 23 8 1 4 15 34
| | | | | |
45 22 7---6---5 16 35
| | | |
44 21--20--19--18--17 36
| |
43--42--41--40--39--38--37
.
Numbers n such that a(n)=n: 2, 8, 12, 22, 30, 44, 56, 74, 90, 112, 132, 158, 182, 212, 240, 274, 306, 344, 380, 422, ... That is, 2 * A084263.
LINKS
CROSSREFS
Sequence in context: A099259 A131904 A278264 * A038074 A059885 A259689
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Nov 19 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)