A363261 The partial sums of the prime indices of n include half the sum of all prime indices of n.
4, 9, 12, 16, 25, 30, 40, 48, 49, 63, 64, 70, 81, 84, 108, 112, 121, 144, 154, 160, 165, 169, 192, 198, 220, 256, 264, 270, 273, 286, 289, 325, 351, 352, 360, 361, 364, 390, 442, 448, 468, 480, 520, 529, 561, 567, 576, 595, 624, 625, 640, 646, 675, 714, 729
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 4: {1,1} 9: {2,2} 12: {1,1,2} 16: {1,1,1,1} 25: {3,3} 30: {1,2,3} 40: {1,1,1,3} 48: {1,1,1,1,2} 49: {4,4} 63: {2,2,4} 64: {1,1,1,1,1,1} 70: {1,3,4} 81: {2,2,2,2} 84: {1,1,2,4}
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Select[Range[100],MemberQ[Accumulate[prix[#]],Total[prix[#]]/2]&]
Comments