OFFSET
0,6
LINKS
FORMULA
G.f.: 1/(1 - Sum_{k>=2} x^k/(1 + x^k)).
EXAMPLE
a(7) = 6 because we have [7], [5, 2], [4, 3], [3, 4], [2, 5] and [2, 3, 2].
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1,
add(`if`(j=i, 0, b(n-j, `if`(j<=n-j, j, 0))), j=2..n))
end:
a:= n-> b(n, 0):
seq(a(n), n=0..50); # Alois P. Heinz, Jan 25 2018
MATHEMATICA
nmax = 45; CoefficientList[Series[1/(1 - Sum[x^k/(1 + x^k), {k, 2, nmax}]), {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 25 2018
STATUS
approved