OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Pentagonal Pyramidal Number
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
G.f.: x*(1 + 116*x + 1863*x^2 + 7570*x^3 + 9350*x^4 + 3474*x^5 + 304*x^6 + 2*x^7)/(1 - x)^10.
a(n) = n^4 *(n^3+n^2+2) *(n+1)^2 /16. - R. J. Mathar, Nov 28 2019
MATHEMATICA
Table[Sum[k (3 k - 1)/2, {k, 0, n^2 (n + 1)/2}], {n, 0, 26}]
nmax = 26; CoefficientList[Series[x (1 + 116 x + 1863 x^2 + 7570 x^3 + 9350 x^4 + 3474 x^5 + 304 x^6 + 2 x^7)/(1 - x)^10, {x, 0, nmax}], x]
LinearRecurrence[{10, -45, 120, -210, 252, -210, 120, -45, 10, -1}, {0, 1, 126, 3078, 32800, 213750, 1008126, 3783976, 11985408, 33297075}, 27]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Nov 20 2019
STATUS
approved