A360454 Numbers for which the prime multiplicities (or sorted signature) have the same median as the prime indices.
1, 2, 9, 54, 100, 120, 125, 135, 168, 180, 189, 240, 252, 264, 280, 297, 300, 312, 336, 351, 396, 408, 440, 450, 456, 459, 468, 480, 513, 520, 528, 540, 552, 560, 588, 612, 616, 621, 624, 672, 680, 684, 696, 728, 744, 756, 760, 783, 816, 828, 837, 880, 882
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 1: {} 2: {1} 9: {2,2} 54: {1,2,2,2} 100: {1,1,3,3} 120: {1,1,1,2,3} 125: {3,3,3} 135: {2,2,2,3} 168: {1,1,1,2,4} 180: {1,1,2,2,3} 189: {2,2,2,4} 240: {1,1,1,1,2,3} For example, the prime indices of 336 are {1,1,1,1,2,4} with median 1 and multiplicities {1,1,4} with median 1, so 336 is in the sequence.
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[1000],Median[prix[#]]==Median[Length/@Split[prix[#]]]&]
Comments