OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10, -19).
FORMULA
a(n) = ((3+2*sqrt(6))*(5+sqrt(6))^n+(3-2*sqrt(6))*(5-sqrt(6))^n)/6.
G.f.: (1-x)/(1-10*x+19*x^2).
MATHEMATICA
LinearRecurrence[{10, -19}, {1, 9}, 30] (* Harvey P. Dale, Dec 26 2015 *)
PROG
(Magma) [ n le 2 select 8*n-7 else 10*Self(n-1)-19*Self(n-2): n in [1..20] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 15 2009
STATUS
approved