OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..n} p(n,k) * 9^(n-k), where p(n,k) = number of partitions of n into k parts.
a(n) ~ sqrt(2) * polylog(2, 1/9)^(1/4) * 9^(n - 1/2) * exp(2*sqrt(polylog(2, 1/9)*n)) / (sqrt(Pi)*n^(3/4)). - Vaclav Kotesovec, May 09 2021
MATHEMATICA
nmax = 22; CoefficientList[Series[Product[1/(1 - 9^(k - 1) x^k), {k, 1, nmax}], {x, 0, nmax}], x]
Table[Sum[Length[IntegerPartitions[n, {k}]] 9^(n - k), {k, 0, n}], {n, 0, 22}]
a[n_] := a[n] = If[n == 0, 1, (1/n) Sum[Sum[d 9^(k - k/d), {d, Divisors[k]}] a[n - k], {k, 1, n}]]; Table[a[n], {n, 0, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 23 2021
STATUS
approved