OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (8,-7,-6,1).
FORMULA
G.f.: x*(-1-2*x+2*x^2) / ( (x^2+x-1)*(x^2-7*x+1) ). - R. J. Mathar, Oct 26 2015
MATHEMATICA
LinearRecurrence[{8, -7, -6, 1}, {0, 1, 10, 71}, 50] (* or *) Table[(1/2) *(Fibonacci[4*n] - Fibonacci[n]), {n, 0, 30}] (* G. C. Greubel, Dec 02 2017 *)
PROG
(PARI) for(n=0, 30, print1((fibonacci(4*n) - fibonacci(n))/2, ", ")) \\ G. C. Greubel, Dec 02 2017
(Magma) [(Fibonacci(4*n) - Fibonacci(n))/2: n in [0..30]]; // G. C. Greubel, Dec 02 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved