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