OFFSET
0,1
LINKS
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (1, 1).
FORMULA
G.f.: (5+11x)/(1-x-x^2). - Philippe Deléham, Nov 20 2008
MAPLE
a:= n-> (<<0|1>, <1|1>>^n. <<5, 16>>)[1, 1]:
seq(a(n), n=0..50); # Alois P. Heinz, Nov 18 2018
MATHEMATICA
a={}; b=5; 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 17 2008 *)
LinearRecurrence[{1, 1}, {5, 16}, 40] (* Harvey P. Dale, Apr 29 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved