OFFSET
0,1
LINKS
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (1, 1).
FORMULA
From Alois P. Heinz, Jul 31 2008: (Start)
G.f.: (5+14*x)/(1-x-x^2).
a(n) = term (1,1) in the 1x2 matrix [5,14] . [1,1; 1,0]^n. (End)
MAPLE
a:= n -> (Matrix([[5, 14]]).Matrix([[1, 1], [1, 0]])^n)[1, 1]:
seq(a(n), n=0..35); # Alois P. Heinz, Jul 31 2008
MATHEMATICA
a={}; b=5; 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
AUTHOR
STATUS
approved