OFFSET
0,10
COMMENTS
Number of partitions of n into nonzero squared triangular numbers (A000537).
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..10000
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to arXiv version]
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to Lin. Alg. Applic. version together with omitted figures]
Wikipedia, Squared triangular number
FORMULA
G.f.: Product_{k>=1} 1/(1 - x^((k*(k+1)/2)^2)).
EXAMPLE
a(10) = 2 because we have [9, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
nmax = 105; CoefficientList[Series[Product[1/(1 - x^((k*(k + 1)/2)^2)), {k, 1, Floor[Sqrt[1 + 8*Sqrt[nmax]]/2] + 1}], {x, 0, nmax}], x] (* tuned for efficiency by Vaclav Kotesovec, Mar 18 2026 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 23 2016
STATUS
approved
