OFFSET
1,6
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..3800
FORMULA
G.f.: x + x^3 / Product_{n>=1} (1 - x^n)^a(n).
a(1) = 1, a(2) = 0, a(3) = 1; a(n) = (1/(n - 3)) * Sum_{k=1..n-3} ( Sum_{d|k} d * a(d) ) * a(n-k).
a(n) ~ c * d^n / n^(3/2), where d = 1.82975393308934955558864748939303527364978309460948926333116466766295641... and c = 0.8335864368398390652263577663136791087027831725508605623969711758177... - Vaclav Kotesovec, Jul 06 2021
MAPLE
a:= proc(n) option remember; `if`(n<4, [1, 0, 1][n], add(a(n-k)*
add(d*a(d), d=numtheory[divisors](k)), k=1..n-3)/(n-3))
end:
seq(a(n), n=1..42); # Alois P. Heinz, Jul 01 2021
MATHEMATICA
nmax = 42; A[_] = 0; Do[A[x_] = x + x^3 Exp[Sum[A[x^k]/k, {k, 1, nmax}]] + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] // Rest
a[1] = 1; a[2] = 0; a[3] = 1; a[n_] := a[n] = (1/(n - 3)) Sum[Sum[d a[d], {d, Divisors[k]}] a[n - k], {k, 1, n - 3}]; Table[a[n], {n, 1, 42}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 01 2021
STATUS
approved