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+20x)/(1-x-x^2). - Philippe Deléham, Nov 19 2008
MATHEMATICA
a={}; b=2; c=22; 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, 22}, 30] (* Harvey P. Dale, Jan 06 2013 *)
PROG
(PARI) x='+O('x^50); Vec((2+20*x)/(1-x-x^2)) \\ G. C. Greubel, Oct 04 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(30) onward added by G. C. Greubel, Oct 04 2017
STATUS
approved