OFFSET
0,6
COMMENTS
The Fibonacci spiral is produced by creating a quarter circle of radius 1, then adding successive quarter circles such that the radius of the new quarter circle is the sum of the radii of the previous two quarter circles, and that the circumference of the new quarter circle continues where the previous quarter circle ended. When the center of the first quarter circle is at 0,0 the circumference turns clockwise from -1,0, and terms after n=1 are given signs - + + - repeating, these are the x coordinates where the circumferences meet. The y coordinates are the golden rectangle numbers (A001654) with the same pattern of alternation (x,a,b,x), and the same pattern of signs shifted backward one.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Benjamin G. Brunsden, Sequence shown as coordinates on the Fibonacci spiral
Index entries for linear recurrences with constant coefficients, signature (0,2,0,2,0,-1).
FORMULA
MATHEMATICA
LinearRecurrence[{0, 2, 0, 2, 0, -1}, {1, 1, 0, 1, 1, 4}, 50] (* Paolo Xausa, Mar 27 2025 *)
PROG
(Python)
from sympy import fibonacci
def A380696(n): return fibonacci(n+1>>1 if n&1 else (n>>1)-1)**2 # Chai Wah Wu, Mar 26 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benjamin G. Brunsden, Jan 30 2025
STATUS
approved
