A332576 Number of integer partitions of n that are all 1's or whose run-lengths cover an initial interval of positive integers.
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
Keywords
Examples
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)
Crossrefs
Programs
-
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}]
Formula
a(n > 1) = A317081(n) + 1.
Comments