A354910 Number of compositions of n that are the run-sums of some other composition.
1, 1, 1, 3, 5, 9, 16, 31, 54, 101, 183, 336, 609, 1121, 2038, 3730, 6804, 12445, 22703, 41501, 75768
Offset: 0
Examples
The a(0) = 0 through a(6) = 16 compositions: () (1) (2) (3) (4) (5) (6) (12) (13) (14) (15) (21) (22) (23) (24) (31) (32) (33) (121) (41) (42) (122) (51) (131) (123) (212) (132) (221) (141) (213) (222) (231) (312) (321) (1212) (2121)
Crossrefs
Programs
-
Mathematica
Table[Length[Union[Total/@Split[#]&/@ Join@@Permutations/@IntegerPartitions[n]]],{n,0,15}]
Comments