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+14*x)/(1-x-x^2). - Philippe Deléham, Nov 19 2008
a(n) = 2*(Fibonacci(n+2) + 6*Fibonacci(n)). - G. C. Greubel, Aug 27 2017
a(n) = 2 * A022098(n). - Alois P. Heinz, Aug 27 2017
MATHEMATICA
a={}; b=2; c=16; 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 *)
LinearRecurrence[{1, 1}, {2, 16}, 40] (* Harvey P. Dale, Aug 11 2011 *)
PROG
(PARI) for(n=0, 50, print1(2*(fibonacci(n+2) + 6*fibonacci(n)), ", ")) \\ G. C. Greubel, Aug 27 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved