OFFSET
0,3
FORMULA
a(n) ~ exp(2*sqrt(n/3) - 1/6 - c/3) * 3^(n - 1/4) / (2*sqrt(Pi)*n^(3/4)), where c = Sum_{j>=2} (-1)^j / (j * (3^(j-1) - 1)). - Vaclav Kotesovec, Apr 13 2021
MAPLE
h:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
add(h(n-i*j, i-1)*binomial(3^(i-1), j), j=0..n/i)))
end:
a:= n-> h(n$2):
seq(a(n), n=0..28); # Alois P. Heinz, Apr 12 2021
MATHEMATICA
nmax = 28; CoefficientList[Series[Product[(1 + x^k)^(3^(k - 1)), {k, 1, nmax}], {x, 0, nmax}], x]
a[n_] := a[n] = If[n == 0, 1, (1/n) Sum[Sum[(-1)^(k/d + 1) d 3^(d - 1), {d, Divisors[k]}] a[n - k], {k, 1, n}]]; Table[a[n], {n, 0, 28}]
PROG
(PARI) seq(n)={Vec(prod(k=1, n, (1 + x^k + O(x*x^n))^(3^(k-1))))} \\ Andrew Howroyd, Apr 12 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 12 2021
STATUS
approved