OFFSET
0,4
LINKS
EXAMPLE
The a(1) = 1 through a(12) = 11 partitions (A..C = 10..12):
1 2 3 4 5 6 7 8 9 A B C
21 32 51 43 62 54 73 65 84
41 321 52 71 63 82 74 93
61 521 72 91 83 A2
81 541 92 B1
432 721 A1 543
621 4321 632 651
821 732
741
921
6321
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], FreeQ[Differences[#], 0|-2]&]], {n, 0, 30}]
CROSSREFS
The version for no difference 0 is A000009.
The version for subsets of prescribed maximum is A005314.
The opposite version is A072670.
The non-strict version is A350842.
A000041 counts integer partitions.
A027187 counts partitions of even length.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 21 2022
STATUS
approved