OFFSET
0,5
EXAMPLE
The a(2) = 1 through a(8) = 9 partitions:
(11) (21) (22) (32) (33) (43) (44)
(31) (41) (42) (52) (53)
(1111) (2111) (51) (61) (62)
(3111) (2221) (71)
(111111) (4111) (2222)
(211111) (3221)
(5111)
(311111)
(11111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], EvenQ[Length[#]]&&And@@Table[#[[i]]==#[[i+1]], {i, 2, Length[#]-1, 2}]&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 03 2022
STATUS
approved