OFFSET
0,3
LINKS
FORMULA
G.f.: 1/(1 - Sum_{k>=2} x^(floor(k^2/4))).
EXAMPLE
a(4) = 6 because we have [4], [2, 2], [2, 1, 1], [1, 2, 1], [1, 1, 2] and [1, 1, 1, 1].
MATHEMATICA
nmax = 40; CoefficientList[Series[1/(1 - Sum[x^Floor[k^2/4], {k, 2, nmax}]), {x, 0, nmax}], x]
PROG
(PARI) Vec(1/(1 - sum(k=2, 40, x^floor(k^2/4)) + O(x^41))) \\ Indranil Ghosh, Mar 15 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 19 2017
STATUS
approved