OFFSET
0,2
COMMENTS
lim_{n -> infinity} a(n)/a(n-1) = 16.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (21,-84,64).
FORMULA
a(n) = (91*16^n - 35*4^n + 4)/60.
G.f.: (1+x+x^2)/((1-x)*(1-4*x)*(1-16*x)).
From G. C. Greubel, May 30 2016: (Start)
a(n) = 21*a(n-1) - 84*a(n-2) + 64*a(n-3).
E.g.f.: (1/60)*(91*exp(16*x) - 35*exp(4*x) + 4*exp(x)). (End)
MATHEMATICA
LinearRecurrence[{21, -84, 64}, {1, 22, 379}, 50] (* G. C. Greubel, May 30 2016 *)
PROG
(Magma) [ n le 2 select 21*n-20 else 20*Self(n-1)-64*Self(n-2)+3: n in [1..17] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Oct 27 2009
STATUS
approved