login
A116585
An interleaving of three sequences: a(3n) = A000045(3n) = A014445(n). a(3n+1) = A000931(3n+5) = A052921(n). a(3n+2) = A003269(3n-1).
0
0, 1, 1, 2, 2, 2, 8, 4, 5, 34, 9, 14, 144, 21, 36, 610, 49, 95, 2584, 114, 250, 10946, 265, 657, 46368, 616
OFFSET
0,4
LINKS
Eric Weisstein's World of Mathematics, Pisot Number
MATHEMATICA
a[1, 0] = 0; a[1, 1] = 1; a[1, n_Integer?Positive] := a[1, n] = a[1, n - 1] + a[1, n - 2] a[2, 0] = 0; a[2, 1] = 1; a[2, 2] = 1; a[2, n_Integer?Positive] := a[2, n] = a[2, n - 2] + a[2, n - 3] a[3, 0] = 0; a[3, 1] = a[3, 2] = a[3, 3] = 1; a[3, n_Integer?Positive] := a[3, n] = a[3, n - 1] + a[3, n - 4] b = Table[a[1 + Mod[n, 3], n], {n, 0, 25}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 26 2006
EXTENSIONS
Edited by N. J. A. Sloane, Apr 09 2008
STATUS
approved