OFFSET
1,5
COMMENTS
Total number of parts in all partitions of n into distinct squares.
LINKS
FORMULA
G.f.: Sum_{i>=1} x^(i^2)/(1 + x^(i^2)) * Product_{j>=1} (1 + x^(j^2)).
From Alois P. Heinz, Feb 03 2021: (Start)
a(n) = Sum_{k>=0} k * A341040(n,k).
a(n) = 0 <=> n in { A001422 }. (End)
EXAMPLE
a(26) = 5 because we have [25, 1], [16, 9 ,1] and 2 + 3 = 5.
MATHEMATICA
nmax = 100; Rest[CoefficientList[Series[Sum[x^i^2/(1 + x^i^2), {i, 1, nmax}] Product[1 + x^j^2, {j, 1, nmax}], {x, 0, nmax}], x]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 23 2017
STATUS
approved