OFFSET
1,4
COMMENTS
To draw the Fibonacci squares without lifting your pencil, go a(n) units and turn 90 degrees (same direction every time), and so on (see the animation).
As an array read by rows, with two columns, in which column 1 lists three copies of every nonzero term of A001906 in nondecreasing order, and the column 2 lists 1 together with three copies of every term > 1 of A001519 in nondecreasing order. - Omar E. Pol, Sep 29 2020
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
Victor Kelly, Animated GIF
Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,0,1).
FORMULA
a(n) = Fibonacci(A008611(n+2)). - David A. Corneth, Sep 28 2020
G.f.: -x*(x^5+x^3+x^2+x+1)/(x^6+x^3-1). - Alois P. Heinz, Sep 29 2020
a(n) = a(n-3) + a(n-6) for n > 6. - Jinyuan Wang, Sep 30 2020
MATHEMATICA
A337879[n_] := Fibonacci[n + 1 - 2*Quotient[n + 1, 3]]; Array[A337879, 60] (* Paolo Xausa, Jul 05 2026 *)
(* Alternative: *)
LinearRecurrence[{0, 0, 1, 0, 0, 1}, {1, 1, 1, 2, 1, 2}, 60] (* Paolo Xausa, Jul 05 2026 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Victor Kelly, Sep 22 2020
EXTENSIONS
More terms from Alois P. Heinz, Sep 29 2020
STATUS
approved
