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!)
A256111 a(n) = squared distance to the origin of the n-th vertex on a Babylonian Spiral. 6

%I #35 Sep 14 2018 06:22:36

%S 0,1,5,13,26,50,65,85,116,100,97,85,85,90,128,205,293,409,481,586,730,

%T 845,890,841,833,745,514,244,65,17,106,338,698,1117,1225,1193,1040,

%U 986,1037,1060,850,477,197,85,80,232,530,757,650,522,225,16,50,333,797

%N a(n) = squared distance to the origin of the n-th vertex on a Babylonian Spiral.

%C A Babylonian spiral is constructed by starting with a zero vector and progressively concatenating the next longest vector with integral endpoints on a Cartesian grid. (The squares of the lengths of these vectors are A001481.) The direction of the new vector is chosen to create the clockwise spiral which minimizes the change in direction from the previous vector.

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . 14. . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . 13. . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . 2 . 3 . . . . . . .

%C . . . . . . . . . . . 1 . . . . 4 . . . . .

%C . . . . . . . . . . . o . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . 5 . . .

%C . . 12. . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . . 6 . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . 11. . . . . . . . . . . . . . . . .

%C . . . . . . . . . . . . . . . . . 7 . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C . . . . . . . 10. . . . . . . . . . . . . .

%C . . . . . . . . . . . 9 . . . 8 . . . . . .

%C . . . . . . . . . . . . . . . . . . . . . .

%C The name is chosen to mislead school students into making an incorrect hypothesis about the Babylonian Spiral's long-term behavior.

%H Lars Blomberg, <a href="/A256111/b256111.txt">Table of n, a(n) for n = 0..10000</a>

%H Lars Blomberg, Illustrations of <a href="/A256111/a256111.png">100</a>, <a href="/A256111/a256111_1.png">1000</a> and <a href="/A256111/a256111_2.png">10000</a> terms

%H MathPickle, <a href="http://mathpickle.com/project/babylonian-spiral">Babylonian Spiral</a>

%e On the above diagram, point 4 is distance sqrt(26) from the origin, so a(4) = 26.

%t NextVec[{x_, y_}] :=

%t Block[{n = x^2 + y^2 + 1}, While[SquaresR[2, n] == 0, n++];

%t TakeSmallestBy[

%t Union[Flatten[(Transpose[

%t Transpose[Tuples[{1, -1},2]] #] & /@

%t ({{#[[1]], #[[2]]}, {#[[2]], #[[1]]}})) & /@

%t PowersRepresentations[n, 2, 2], 2]],

%t Mod[ArcTan[#[[2]], #[[1]]] - ArcTan[y, x], 2 Pi] &, 1][[1]]

%t ]

%t Norm[#]^2 & /@ Accumulate[NestList[NextVec, {0, 1}, 50]] (* _Alex Meiburg_, Dec 29 2017 *)

%Y x-coordinates given in A297346. y-coordinates given in A297347.

%K nonn

%O 0,3

%A _Gordon Hamilton_, Mar 14 2015

%E Corrected a(16) and more terms from _Lars Blomberg_, Nov 17 2016

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 19 14:04 EDT 2024. Contains 371792 sequences. (Running on oeis4.)