OFFSET
0,3
COMMENTS
Partial sums of 18-gonal (or octadecagonal) pyramidal numbers. Therefore, this is the case k=8 of the general formula n*(n + 1)*(n + 2)*(k*n - k + 2)/12, which is related to 2*(k+1)-gonal pyramidal numbers.
LINKS
Kelvin Voskuijl, Table of n, a(n) for n = 0..10000
OEIS Wiki, Figurate numbers.
Eric Weisstein's World of Mathematics, Pyramidal Number.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: x*(1 + 15*x)/(1 - x)^5.
a(n) = Sum_{k = 0..n} A172078(k).
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). - Vincenzo Librandi, Nov 27 2015
From Amiram Eldar, Feb 20 2026: (Start)
Sum_{n>=1} 1/a(n) = (16*Pi + 96*log(2) - 69/2)/77.
Sum_{n>=1} (-1)^(n+1)/a(n) = (153 + 32*sqrt(2)*Pi + 8*(4*sqrt(2)-41)*log(2) - 64*sqrt(2)*log(2-sqrt(2)))/154. (End)
MATHEMATICA
Table[n (n + 1) (n + 2) (4 n - 3)/6, {n, 0, 50}]
PROG
(Magma) [n*(n + 1)*(n + 2)*(4*n - 3)/6: n in [0..50]]; // Vincenzo Librandi, Nov 27 2015
(PARI) a(n)=n*(n+1)*(n+2)*(4*n-3)/6 \\ Charles R Greathouse IV, Jul 26 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Nov 26 2015
STATUS
approved
