A325122 Sum of binary digits of the prime indices of n, minus Omega(n).
0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 2, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 0, 1, 1, 2, 0, 1, 2, 1, 0, 1, 0, 1, 1, 2, 0, 2, 1, 1, 1, 3, 0, 0, 2, 2, 1, 0, 0, 2, 0, 0, 1, 1, 1, 1, 2, 0, 0, 2, 1, 2, 2, 1, 1, 1, 0, 2, 1, 2, 0, 1, 1, 2, 1, 0, 2, 3, 0, 3, 2, 1
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Table[Sum[pr[[2]]*(DigitCount[PrimePi[pr[[1]]],2,1]-1),{pr,If[n==1,{},FactorInteger[n]]}],{n,100}]
Formula
Totally additive with a(prime(n)) = A048881(n).
Comments