OFFSET
0,3
COMMENTS
Invert transform of A038548.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: 1 / (1 - Sum_{k>=1} x^(k^2) / (1 - x^k)).
a(0) = 1; a(n) = Sum_{k=1..n} A038548(k) * a(n-k).
MAPLE
a:= proc(n) option remember; `if`(n<1, 1, add(a(n-i)*
ceil(numtheory[sigma][0](i)/2), i=1..n))
end:
seq(a(n), n=0..34); # Alois P. Heinz, Sep 23 2019
MATHEMATICA
nmax = 33; CoefficientList[Series[1/(1 - Sum[x^(k^2)/(1 - x^k), {k, 1, nmax}]), {x, 0, nmax}], x]
a[0] = 1; a[n_] := a[n] = Sum[Floor[(DivisorSigma[0, k] + 1)/2] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 33}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 23 2019
STATUS
approved