A359891 Members of A026424 (numbers with an odd number of prime factors) whose prime indices have the same mean as median.
2, 3, 5, 7, 8, 11, 13, 17, 19, 23, 27, 29, 30, 31, 32, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 105, 107, 109, 110, 113, 125, 127, 128, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 2: {1} 3: {2} 5: {3} 7: {4} 8: {1,1,1} 11: {5} 13: {6} 17: {7} 19: {8} 23: {9} 27: {2,2,2} 29: {10} 30: {1,2,3} 31: {11} 32: {1,1,1,1,1} For example, the prime indices of 180 are {1,1,2,2,3}, with mean 9/5 and median 2, so 180 is not in the sequence.
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],OddQ[PrimeOmega[#]]&&Mean[prix[#]]==Median[prix[#]]&]
Comments