OFFSET
0,6
COMMENTS
These are partitions whose multiplicities begin with a 1, are followed by any number of 2's, and end with another 1.
EXAMPLE
The a(3) = 1 through a(15) = 13 partitions (A..E = 10..14):
21 31 32 42 43 53 54 64 65 75 76 86 87
41 51 52 62 63 73 74 84 85 95 96
61 71 72 82 83 93 94 A4 A5
3221 81 91 92 A2 A3 B3 B4
4221 5221 A1 B1 B2 C2 C3
4331 4332 C1 D1 D2
6221 5331 5332 5441 E1
7221 6331 6332 5442
8221 7331 6441
9221 7332
8331
A221
433221
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], EvenQ[Length[#]]&&And@@Table[#[[i]]==#[[i+1]], {i, 2, Length[#]-1, 2}]&&And@@Table[#[[i]]!=#[[i+1]], {i, 1, Length[#]-1, 2}]&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 31 2022
STATUS
approved