A381636 Numbers whose prime indices cannot be partitioned into constant blocks with distinct sums.
12, 60, 63, 84, 120, 126, 132, 156, 204, 228, 252, 276, 300, 315, 325, 348, 372, 420, 444, 492, 504, 516, 560, 564, 588, 630, 636, 650, 660, 693, 708, 720, 732, 780, 804, 819, 840, 852, 876, 924, 931, 948, 975, 996, 1008, 1020, 1068, 1071, 1092, 1140, 1164
Offset: 1
Keywords
Examples
The prime indices of 300 are {1,1,2,3,3}, with partitions into constant blocks: {{2},{1,1},{3,3}} {{1},{1},{2},{3,3}} {{2},{3},{3},{1,1}} {{1},{1},{2},{3},{3}} but none of these has distinct block-sums, so 300 is in the sequence. The terms together with their prime indices begin: 12: {1,1,2} 60: {1,1,2,3} 63: {2,2,4} 84: {1,1,2,4} 120: {1,1,1,2,3} 126: {1,2,2,4} 132: {1,1,2,5} 156: {1,1,2,6} 204: {1,1,2,7} 228: {1,1,2,8} 252: {1,1,2,2,4} 276: {1,1,2,9} 300: {1,1,2,3,3}
Crossrefs
Programs
-
Mathematica
hwt[n_]:=Total[Cases[FactorInteger[n],{p_,k_}:>PrimePi[p]*k]]; pfacs[n_]:=If[n<=1,{{}},Join@@Table[(Prepend[#,d]&)/@Select[pfacs[n/d],Min@@#>=d&],{d,Select[Rest[Divisors[n]],PrimePowerQ]}]]; Select[Range[100],Select[pfacs[#],UnsameQ@@hwt/@#&]=={}&]
Comments