login
A166916
a(n) = 20*a(n-1) - 64*a(n-2) - 15 for n > 1; a(0) = 357, a(1) = 5525.
10
357, 5525, 87637, 1399125, 22373717, 357930325, 5726688597, 91626231125, 1466016552277, 23456252253525, 375299985724757, 6004799570269525, 96076792319006037, 1537228673882871125, 24595658769241036117
OFFSET
0,1
COMMENTS
Related to Reverse and Add trajectory of 318 in base 4: A075153(6*n+4) = 30*a(n).
lim_{n -> infinity} a(n)/a(n-1) = 16.
FORMULA
a(n) = (1024*16^n + 48*4^n - 1)/3.
G.f.: (357 - 1972*x + 1600*x^2)/((1-x)*(1-4*x)*(1-16*x)).
a(0)=357, a(1)=5525, a(2)=87637, a(n)=21*a(n-1)-84*a(n-2)+64*a(n-3). - Harvey P. Dale, Sep 24 2012
E.g.f.: (1/3)*(1024*exp(16*x) + 48*exp(4*x) - exp(x)). - G. C. Greubel, May 28 2016
MATHEMATICA
LinearRecurrence[{21, -84, 64}, {357, 5525, 87637}, 20] (* Harvey P. Dale, Sep 24 2012 *)
PROG
(PARI) m=15; v=concat([357, 5525], vector(m-2)); for(n=3, m, v[n]=20*v[n-1]-64*v[n-2]-15); v
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Oct 27 2009
STATUS
approved