OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6, -8).
FORMULA
a(n) = 2*4^(n+7)-4192257*2^(n-5) for n > 8.
G.f.: (221+612*x-1187*x^2+37195*x^3+216865*x^4+4612228*x^5-6056532*x^6 +71320925*x^7+1082968138*x^8-2429408504*x^9+20966400*x^10) / ((1-2*x)*(1-4*x)).
G.f. for the sequence starting at a(9): 16*x^9*(532678655-1056972796*x)/((1-2*x)*(1-4*x)).
MATHEMATICA
CoefficientList[Series[(221 + 612 x - 1187 x^2 + 37195 x^3 + 216865 x^4 + 4612228 x^5 - 6056532 x^6 + 71320925 x^7 + 1082968138 x^8 - 2429408504 x^9 + 20966400 x^10)/((1 - 2 x) (1 - 4 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 24 2013 *)
PROG
(PARI) {m=18; v=concat([221, 1938, 8673, 73729, 589855, 7561526, 34593784, 218391421, 2116566392, 8522858480, 34225586144], vector(m-11)); for(n=12, m, v[n]=6*v[n-1]-8*v[n-2]); v}
(Magma) [221, 1938, 8673, 73729, 589855, 7561526, 34593784, 218391421, 2116566392] cat [2*4^(n+7)-4192257*2^(n-5): n in [9..25]]; // Vincenzo Librandi, Sep 24 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, May 07 2010
STATUS
approved