A325415 Number of distinct sums of omega-sequences of integer partitions of n.
1, 1, 2, 3, 4, 5, 8, 8, 10, 11, 13, 12, 15, 14, 16, 18, 18, 18, 21, 20, 23, 23, 24, 24, 27, 27, 28, 29, 30, 30, 34, 32, 34, 35, 36, 37, 39, 38, 40, 41, 43, 42, 45, 44, 46, 48, 48, 48, 51, 50, 53, 53, 54, 54, 57, 57, 58, 59, 60, 60, 64
Offset: 0
Keywords
Examples
The partitions of 9 organized by sum of omega sequence (first column) are: 1: (9) 4: (333) 5: (81) (72) (63) (54) 7: (621) (531) (432) 8: (711) (522) (441) 9: (6111) (3222) (222111) 10: (51111) (33111) (22221) (111111111) 11: (411111) 12: (5211) (4311) (4221) (3321) (3111111) (2211111) 13: (42111) (32211) (21111111) 14: (321111) There are a total of 11 distinct sums {1,4,5,7,8,9,10,11,12,13,14}, so a(9) = 11.
Crossrefs
Programs
-
Mathematica
omseq[ptn_List]:=If[ptn=={},{},Length/@NestWhileList[Sort[Length/@Split[#]]&,ptn,Length[#]>1&]]; Table[Length[Union[Total/@omseq/@IntegerPartitions[n]]],{n,0,30}]
Comments