OFFSET
0,3
EXAMPLE
The a(1) = 1 through a(7) = 11 partitions:
(1) (2) (3) (4) (5) (6) (7)
(11) (21) (22) (32) (33) (43)
(111) (31) (41) (42) (52)
(211) (311) (51) (61)
(1111) (2111) (222) (322)
(11111) (411) (511)
(3111) (2221)
(21111) (4111)
(111111) (31111)
(211111)
(1111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], And@@Table[#[[i]]==#[[i+1]], {i, 2, Length[#]-1, 2}]&]], {n, 0, 10}]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 31 2022
STATUS
approved