OFFSET
0,4
EXAMPLE
The a(1) = 1 through a(11) = 12 partitions (A = 10, B = 11):
1 2 3 4 5 6 7 8 9 A B
21 31 32 42 43 53 54 64 65
211 41 51 52 62 63 73 74
311 411 61 71 72 82 83
322 422 81 91 92
511 611 522 433 A1
3221 711 622 533
4221 811 722
32211 5221 911
42211 4331
6221
52211
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], 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