login
A003222
a(n) = 2^(3*n+1) - 2*n*(2*n+1).
1
2, 10, 108, 982, 8120, 65426, 524132, 4194094, 33554160, 268435114, 2147483228, 17179868678, 137438952872, 1099511627074, 8796093021396, 70368744176734, 562949953420256, 4503599627369306, 36028797018962636
OFFSET
0,1
FORMULA
From R. J. Mathar, May 05 2010: (Start)
a(n) = 11*a(n-1) - 27*a(n-2) + 25*a(n-3) - 8*a(n-4).
G.f.: 2*(1 - 6*x + 26*x^2 + 7*x^3)/ ( (8*x-1)* (x-1)^3). (End)
PROG
(Magma) [2^(3*n+1)-2*n*(2*n+1): n in [0..20]]; // Vincenzo Librandi, Jun 26 2011
(PARI) a(n) = 2^(3*n+1)-2*n*(2*n+1); \\ Altug Alkan, Sep 21 2018
CROSSREFS
Sequence in context: A306064 A355210 A185396 * A262145 A355209 A343307
KEYWORD
nonn,easy
STATUS
approved