OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Wikipedia, Fibonacci number.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,7,0,0,0,-1).
FORMULA
a(4*n) = A004187(n) = (a(4*n-1) + a(4*n-2))/3;
a(4*n+1) = A033889(n) = 3*a(4*n-1) + a(4*n-2);
a(4*n+2) = A033890(n) = a(4*n-1) + 3*a(4*n-2);
a(4*n+3) = A033891(n) = a(4*n-1) + a(4*n-2).
Numerator of Fibonacci(n) / Fibonacci(2*n-4) for n>=3. - Gary Detlefs, Dec 20 2010
From Elmo R. Oliveira, May 02 2026: (Start)
a(n) = 7*a(n-4) - a(n-8).
G.f.: x*(1+x+2*x^2+x^3-2*x^4+x^5-x^6) / ((-1-x+x^2) * (-1+x+x^2) * (1+3*x^2+x^4)). (End)
MATHEMATICA
Numerator[LinearRecurrence[{1, 1}, {0, 1/3}, 40]] (* Harvey P. Dale, Dec 07 2014 *)
(* Alternative: *)
LinearRecurrence[{0, 0, 0, 7, 0, 0, 0, -1}, {0, 1, 1, 2, 1, 5, 8, 13}, 39] (* Ray Chandler, Aug 03 2015 *)
PROG
(Magma) [0, 1, 1] cat [Numerator(Fibonacci(n)/Fibonacci(2*n-4)): n in [3..40]]; // Vincenzo Librandi, Jun 28 2016
CROSSREFS
KEYWORD
frac,nonn,easy
AUTHOR
Reinhard Zumkeller, Nov 13 2009
EXTENSIONS
Definition corrected by D. S. McNeil, May 09 2010
STATUS
approved
