OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
FORMULA
a(n) ~ Pi * sqrt(2) * exp(Pi*sqrt(2*n/3)) / (3 * n^(3/2)). - Vaclav Kotesovec, Oct 24 2018
G.f.: (1 + x)^3 * Product_{k>=2} 1 / (1 - x^k). - Ilya Gutkovskiy, Apr 24 2021
MAPLE
b:= proc(n, i) option remember; `if`(n=0 or i=1,
binomial(3, n), `if`(i>n, 0, b(n-i, i))+b(n, i-1))
end:
a:= n-> b(n$2):
seq(a(n), n=0..60);
MATHEMATICA
b[n_, i_] := b[n, i] = If[n == 0 || i == 1, Binomial[3, n], If[i > n, 0, b[n - i, i]] + b[n, i - 1]];
a[n_] := b[n, n];
a /@ Range[0, 60] (* Jean-François Alcover, Dec 14 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 19 2018
STATUS
approved