OFFSET
0,4
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..160
EXAMPLE
The a(7) = 9 integer partitions are (7), (61), (52), (511), (43), (421), (331), (322), (3211).
MATHEMATICA
normalQ[m_]:=Union[m]==Range[Max[m]];
Table[Length[Select[IntegerPartitions[n], normalQ[Length/@Split[#]]&]], {n, 30}]
PROG
(Python)
from sympy.utilities.iterables import partitions
def A317081(n):
if n == 0:
return 1
c = 0
for d in partitions(n):
s = set(d.values())
if len(s) == max(s):
c += 1
return c # Chai Wah Wu, Jun 22 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 21 2018
STATUS
approved