OFFSET
2,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..5000
FORMULA
a(n) ~ log(3) * exp(2*Pi*sqrt(n)/3) / (2*Pi*n^(1/4)). - Vaclav Kotesovec, Oct 25 2018
MAPLE
b:= proc(n, i, k) option remember; `if`(n=0, [1, 0], `if`(i<1, 0,
add((l-> [0, l[1]*j]+l)(b(n-i*j, i-1, k)), j=0..min(n/i, k))))
end:
a:= n-> (k-> (b(n$2, k)-b(n$2, k-1))[2])(2):
seq(a(n), n=2..60);
MATHEMATICA
b[n_, i_, k_] := b[n, i, k] = If[n==0, {1, 0}, If[i<1, {0, 0}, Sum[ Function[l, {0, l[[1]]*j} + l][b[n - i j, i-1, k]], {j, 0, Min[n/i, k]}]]];
a[n_] := With[{k = 2}, (b[n, n, k] - b[n, n, k - 1])[[2]]];
a /@ Range[2, 60] (* Jean-François Alcover, Dec 13 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 11 2018
STATUS
approved