A353392 Number of compositions of n whose own run-lengths are a consecutive subsequence.
1, 1, 0, 0, 1, 2, 2, 2, 2, 8, 12, 16, 20, 35, 46, 59, 81, 109, 144, 202, 282
Offset: 0
Examples
The a(0) = 0 through a(10) = 12 compositions (empty columns indicated by dots, 0 is the empty composition): 0 1 . . 22 122 1122 11221 21122 333 1333 221 2211 12211 22112 22113 2233 22122 3322 31122 3331 121122 22114 122112 41122 211221 122113 221121 131122 221131 311221 1211221 1221121
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n],#=={}||MemberQ[Join@@Table[Take[#,{i,j}],{i,Length[#]},{j,i,Length[#]}],Length/@Split[#]]&]],{n,0,15}]