login
A332576
Number of integer partitions of n that are all 1's or whose run-lengths cover an initial interval of positive integers.
4
1, 1, 2, 3, 4, 6, 6, 10, 12, 17, 21, 31, 35, 51, 59, 80, 97, 130, 153, 204, 244, 308, 376, 475, 564, 708, 851, 1043, 1247, 1533, 1816, 2216, 2633, 3174, 3766, 4526, 5324, 6376, 7520, 8917, 10479, 12415, 14524, 17134, 20035, 23489, 27423, 32091, 37286, 43512
OFFSET
0,3
COMMENTS
First differs from A317491 at a(11) = 31, A317491(11) = 30.
FORMULA
a(n > 1) = A317081(n) + 1.
EXAMPLE
The a(1) = 1 through a(8) = 12 partitions:
(1) (2) (3) (4) (5) (6) (7) (8)
(11) (21) (31) (32) (42) (43) (53)
(111) (211) (41) (51) (52) (62)
(1111) (221) (321) (61) (71)
(311) (411) (322) (332)
(11111) (111111) (331) (422)
(421) (431)
(511) (521)
(3211) (611)
(1111111) (3221)
(4211)
(11111111)
MATHEMATICA
nQ[ptn_]:=Or[ptn=={}, Union[ptn]=={1}, Union[Length/@Split[ptn]]==Range[Max[Length/@Split[ptn]]]];
Table[Length[Select[IntegerPartitions[n], nQ]], {n, 0, 30}]
CROSSREFS
The narrow version is A317081.
Heinz numbers of these partitions first differ from A317492 in having 420.
Not counting constant-1 sequences gives A317081.
Dominated by A332295.
Sequence in context: A373700 A317491 A332295 * A028335 A346117 A007464
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 05 2020
STATUS
approved