A334924 G.f.: Sum_{k>=1} x^(k^2*(k + 1)/2) / (1 - x^(k^2*(k + 1)/2)).
1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1
Offset: 1
Keywords
Links
- Eric Weisstein's World of Mathematics, Pentagonal Pyramidal Number.
Programs
-
Mathematica
nmax = 100; CoefficientList[Series[Sum[x^(k^2 (k + 1)/2)/(1 - x^(k^2 (k + 1)/2)), {k, 1, nmax}], {x, 0, nmax}], x] // Rest
Formula
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Pi^2/3 - 2 = A195055 - 2 = 1.289868... . - Amiram Eldar, Jan 02 2024
Comments