OFFSET
0,5
COMMENTS
An acute angled 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 maximize the change in direction from the previous vector. The Babylonian spiral (A256111) minimizes this angle.
LINKS
John Bailey, Table of n, a(n) for n = 0..10000
John Bailey, Python code with plots
EXAMPLE
The coordinates of the first few points are (0,0), (0,1), (1,0), (-1,0), (1,1), (-1,-1), (-1,2).
PROG
(Python) # See Bailey link.
CROSSREFS
KEYWORD
nonn
AUTHOR
John Bailey, Aug 21 2020
STATUS
approved