OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..370
Index entries for linear recurrences with constant coefficients, signature (1,238142,-238142,-1,1).
FORMULA
G.f.: -240*x*(7*x^4 +4*x^3 -449376*x^2 +15620*x +19646)/((x-1)*(x^2 -488*x +1)*(x^2 +488*x +1)).
EXAMPLE
4715040 is in the sequence because Oct(1254) = 4715040 = 300833 + 302736 + 304645 + 306560 + 308481 + 310408 + 312341 + 314280 + 316225 + 318176 + 320133 + 322096 + 324065 + 326040 + 328021 = Oct(317) + ... + Oct(331).
MATHEMATICA
CoefficientList[Series[-240*x*(7*x^4 +4*x^3 -449376*x^2 +15620*x +19646)/((x-1)*(x^2 -488*x +1)*(x^2 +488*x +1)), {x, 0, 50}], x] (* G. C. Greubel, Oct 18 2017 *)
PROG
(PARI) Vec(-240*x*(7*x^4 +4*x^3 -449376*x^2 +15620*x +19646)/((x-1)*(x^2 -488*x +1)*(x^2 +488*x +1)) + O('x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, May 21 2015
STATUS
approved