A297115 Möbius transform of A000120, binary weight of n.
1, 0, 1, 0, 1, 0, 2, 0, 0, 0, 2, 0, 2, 0, 1, 0, 1, 0, 2, 0, -1, 0, 3, 0, 1, 0, 2, 0, 3, 0, 4, 0, -2, 0, -1, 0, 2, 0, 0, 0, 2, 0, 3, 0, 0, 0, 4, 0, 0, 0, 1, 0, 3, 0, 1, 0, 0, 0, 4, 0, 4, 0, 3, 0, -2, 0, 2, 0, -2, 0, 3, 0, 2, 0, -1, 0, -1, 0, 4, 0, -1, 0, 3, 0, 1, 0, 0, 0, 3, 0, 0, 0, -1, 0, 2, 0, 2, 0, 2, 0, 3, 0, 4, 0, 0
Offset: 1
Keywords
Links
Programs
-
PARI
A297115(n) = sumdiv(n,d,moebius(n/d)*hammingweight(d));