A363949 Numbers whose prime indices have mean 1 when rounded down.
2, 4, 6, 8, 12, 16, 18, 20, 24, 32, 36, 40, 48, 54, 56, 60, 64, 72, 80, 96, 108, 112, 120, 128, 144, 160, 162, 168, 176, 180, 192, 200, 216, 224, 240, 256, 288, 320, 324, 336, 352, 360, 384, 400, 416, 432, 448, 480, 486, 504, 512, 528, 540, 560, 576, 600, 640
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 2: {1} 4: {1,1} 6: {1,2} 8: {1,1,1} 12: {1,1,2} 16: {1,1,1,1} 18: {1,2,2} 20: {1,1,3} 24: {1,1,1,2} 32: {1,1,1,1,1} 36: {1,1,2,2} 40: {1,1,1,3} 48: {1,1,1,1,2} 54: {1,2,2,2} 56: {1,1,1,4} 60: {1,1,2,3} 64: {1,1,1,1,1,1}
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],Floor[Mean[prix[#]]]==1&]
Formula
a(n) = 2*A344296(n).
Comments