OFFSET
0,2
COMMENTS
Binomial transform of A152266. Tenth binomial transform of powers of 7 interleaved with zeros.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (20, -93).
FORMULA
a(n) = ((10+sqrt(7))^n+(10-sqrt(7))^n)/2.
G.f.: (1-10*x)/(1-20*x+93*x^2).
MATHEMATICA
LinearRecurrence[{20, -93}, {1, 10}, 40] (* Harvey P. Dale, Nov 01 2011 *)
PROG
(Magma) [ n le 2 select 9*n-8 else 20*Self(n-1)-93*Self(n-2): n in [1..17] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Jul 22 2009
STATUS
approved