OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (31,-310,1240,-1984,1024).
FORMULA
G.f.: -(684*x^4-777*x^3+254*x^2-29*x+1) / ((x-1) * (2*x-1) * (4*x-1) * (8*x-1) * (16*x-1)). - Colin Barker, Aug 03 2013
MATHEMATICA
CoefficientList[Series[-(684 x^4 - 777 x^3 + 254 x^2 - 29 x + 1) / ((x - 1) (2 x - 1) (4 x - 1) (8 x-1) (16 x - 1)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 04 2013 *)
LinearRecurrence[{31, -310, 1240, -1984, 1024}, {1, 2, 6, 29, 219}, 30] (* Harvey P. Dale, Apr 22 2020 *)
PROG
(Magma) [(2^n+2)*(2^n+4)*(4^n+9*2^n+38)/720: n in [0..20]]; // Vincenzo Librandi, Aug 04 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved