OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..670
Max Alekseyev, PARI scripts for various problems
Index entries for linear recurrences with constant coefficients, signature (62,-1240,9920,-31744,32768).
FORMULA
a(n) = A034665(n) - 1, or a(n) = 2^n + 4^n + 8^n + 16^n + 32^n. - Chris Boyd, Apr 26 2014
G.f.: -2*x*( 31-1240*x+14880*x^2-63488*x^3+81920*x^4 ) / ( (4*x-1)*(2*x-1)*(8*x-1)*(16*x-1)*(32*x-1) ). - R. J. Mathar, Jul 23 2014
MATHEMATICA
CoefficientList[Series[-2 (31 - 1240 x + 14880 x^2 - 63488 x^3 + 81920 x^4)/((4 x - 1) (2 x - 1) (8 x - 1) (16 x - 1) (32 x - 1)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 25 2014 *)
LinearRecurrence[{62, -1240, 9920, -31744, 32768}, {62, 1364, 37448, 1118480, 34636832}, 20] (* Harvey P. Dale, Oct 07 2019 *)
PROG
(Magma) [2^n+4^n+8^n+16^n+32^n: n in [1..20]]; // Vincenzo Librandi, Jul 25 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Jan 16 2006
STATUS
approved