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