login
A297116
Odd bisection of A297115, Möbius transform of A000120 (binary weight of n).
2
1, 1, 1, 2, 0, 2, 2, 1, 1, 2, -1, 3, 1, 2, 3, 4, -2, -1, 2, 0, 2, 3, 0, 4, 0, 1, 3, 1, 0, 4, 4, 3, -2, 2, -2, 3, 2, -1, -1, 4, -1, 3, 1, 0, 3, 0, -1, 2, 2, 2, 3, 4, 0, 4, 4, 2, 3, 0, 1, 2, 2, 2, 3, 6, -3, 2, -2, -2, 2, 3, -2, 0, -2, 1, 3, 4, 0, -1, 4, 1, -3, 3, -1, 4, 1, 1, 4, 2, -2, 4, 4, 0, 1, 2, -2, 6, 2, 0, 3, 4, 0, -1, 1, 3, -1
OFFSET
1,4
FORMULA
a(n) = A297115(2n - 1).
PROG
(PARI)
A297115(n) = sumdiv(n, d, moebius(n/d)*hammingweight(d));
A297116(n) = A297115(n+n-1);
CROSSREFS
Sequence in context: A059581 A344319 A236998 * A163542 A061895 A129678
KEYWORD
sign
AUTHOR
Antti Karttunen, Dec 26 2017
STATUS
approved