OFFSET
0,3
LINKS
EXAMPLE
The a(1) = 1 through a(7) = 12 partitions:
(1) (2) (3) (4) (5) (6) (7)
(11) (21) (22) (32) (33) (43)
(111) (211) (41) (51) (52)
(1111) (221) (222) (61)
(2111) (321) (322)
(11111) (411) (511)
(2211) (2221)
(21111) (3211)
(111111) (4111)
(22111)
(211111)
(1111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], FreeQ[Differences[#], -2]&]], {n, 0, 30}]
CROSSREFS
Heinz number rankings are in parentheses below.
The version for no difference 0 is A000009.
The version for subsets of prescribed maximum is A005314.
The opposite version is A072670.
The strict case is A350844.
A000041 = integer partitions.
A027187 = partitions of even length.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 20 2022
STATUS
approved