OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..767
Index entries for linear recurrences with constant coefficients, signature (1,398,-398,-1,1).
FORMULA
G.f.: -11*x*(16*x^4+14*x^3-5507*x^2+2254*x+262) / ((x-1)*(x^2-20*x+1)*(x^2+20*x+1)).
EXAMPLE
2882 is in the sequence because P(44) = 2882 = 92 + 117 + 145 + 176 + 210 + 247 + 287 + 330 + 376 + 425 + 477 = P(8)+ ... +P(18).
MATHEMATICA
LinearRecurrence[{1, 398, -398, -1, 1}, {2882, 27676, 1114135, 10982301, 443390277}, 30] (* Harvey P. Dale, Jan 21 2017 *)
PROG
(PARI) Vec(-11*x*(16*x^4+14*x^3-5507*x^2+2254*x+262)/((x-1)*(x^2-20*x+1)*(x^2+20*x+1)) + O(x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jun 26 2015
STATUS
approved