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