OFFSET
0,6
LINKS
FORMULA
G.f.: 1/(1 - Sum_{k>=1} x^(k^2)/(1 + x^(k^2))).
EXAMPLE
a(10) = 4 because we have [9, 1], [4, 1, 4, 1], [1, 9] and [1, 4, 1, 4].
MATHEMATICA
nmax = 61; CoefficientList[Series[1/(1 - Sum[x^k^2/(1 + x^k^2), {k, 1, nmax}]), {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 22 2018
STATUS
approved