OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (1, 1).
FORMULA
G.f.: (2+18*x)/(1-x-x^2). - Philippe Deléham, Nov 19 2008
a(n) = 2*(Fibonacci(n+2) + 8*Fibonacci(n)). - G. C. Greubel, Aug 27 2017
a(n) = 2*A022100(n). - Alois P. Heinz, Aug 27 2017
MATHEMATICA
a={}; b=2; c=20; AppendTo[a, b]; AppendTo[a, c]; Do[b=b+c; AppendTo[a, b]; c=b+c; AppendTo[a, c], {n, 4!}]; a (* Vladimir Joseph Stephan Orlovsky, Sep 18 2008 *)
Table[2*(Fibonacci[n + 2] + 8*Fibonacci[n]), {n, 0, 50}] (* or *) LinearRecurrence[{1, 1}, {2, 20}, 50] (* G. C. Greubel, Aug 27 2017 *)
PROG
(PARI) for(n=0, 50, print1(2*(fibonacci(n+2) + 8*fibonacci(n)), ", ")) \\ G. C. Greubel, Aug 27 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved