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