login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A117647
a(2n) = A014445(n), a(2n+1) = A015448(n+1).
3
0, 1, 2, 5, 8, 21, 34, 89, 144, 377, 610, 1597, 2584, 6765, 10946, 28657, 46368, 121393, 196418, 514229, 832040, 2178309, 3524578, 9227465, 14930352, 39088169, 63245986, 165580141, 267914296, 701408733
OFFSET
0,3
FORMULA
a(n) = A059973(n+2) - A059973(n+1).
G.f.: x*(x+1)^2/(1 -4*x^2 -x^4).
a(n) = Fibonacci((6*n + 1 - (-1)^n)/4) = Fibonacci(A007494(n)). - G. C. Greubel, Jul 12 2021
MATHEMATICA
Table[Fibonacci[(6*n+1 -(-1)^n)/4], {n, 0, 40}] (* G. C. Greubel, Jul 12 2021 *)
PROG
(Magma) I:=[0, 1, 2, 5]; [n le 4 select I[n] else 4*Self(n-2) +Self(n-4): n in [1..41]]; // G. C. Greubel, Jul 12 2021
(Sage) [fibonacci((6*n+1-(-1)^n)/4) for n in [0..40]] # G. C. Greubel, Jul 12 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, Apr 10 2006
STATUS
approved