OFFSET
1,17
COMMENTS
The sum of binary digits of an integer is the number of 1's in its binary representation. A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
FORMULA
Totally additive with a(prime(n)) = A048881(n).
MATHEMATICA
Table[Sum[pr[[2]]*(DigitCount[PrimePi[pr[[1]]], 2, 1]-1), {pr, If[n==1, {}, FactorInteger[n]]}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 29 2019
STATUS
approved