OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..5000
FORMULA
a(n) ~ log(10) * exp(Pi*sqrt(3*n/5)) / (2 * Pi * 15^(1/4) * n^(1/4)). - Vaclav Kotesovec, Oct 18 2018
MAPLE
b:= proc(n, i) option remember; `if`(n=0, [1, 0], `if`(9*i*(i+1)/2<n, 0, add(
(l-> [0, l[1]*j]+l)(b(n-i*j, min(n-i*j, i-1))), j=0..min(n/i, 9))))
end:
a:= n-> b(n$2)[2]:
seq(a(n), n=1..50);
MATHEMATICA
Table[Length[ Flatten[Select[IntegerPartitions[n], Max[Tally[#][[All, 2]]] <= 9 &]]], {n, 43}] (* Robert Price, Jul 31 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 17 2018
STATUS
approved