OFFSET
0,3
FORMULA
a(n) ~ exp(2*sqrt(n/7) - 1/14 - c/7) * 7^(n - 1/4) / (2*sqrt(Pi)*n^(3/4)), where c = Sum_{j>=2} (-1)^j / (j * (7^(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(7^(i-1), j), j=0..n/i)))
end:
a:= n-> h(n$2):
seq(a(n), n=0..23); # Alois P. Heinz, Apr 12 2021
MATHEMATICA
nmax = 23; CoefficientList[Series[Product[(1 + x^k)^(7^(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 7^(d - 1), {d, Divisors[k]}] a[n - k], {k, 1, n}]]; Table[a[n], {n, 0, 23}]
PROG
(PARI) seq(n)={Vec(prod(k=1, n, (1 + x^k + O(x*x^n))^(7^(k-1))))} \\ Andrew Howroyd, Apr 12 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 12 2021
STATUS
approved