login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A317844
Difference between A294898 and its Möbius transform (A297114).
4
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, -2, 0, 3, 2, 0, 0, 1, 0, 0, 3, 7, 0, -6, 2, 9, 3, 1, 0, -2, 0, 0, 7, 14, 5, -9, 0, 15, 9, -4, 0, 3, 0, 5, 5, 18, 0, -14, 3, 14, 14, 7, 0, 2, 9, -3, 15, 24, 0, -24, 0, 25, 10, 0, 11, 12, 0, 12, 18, 15, 0, -29, 0, 33, 16, 13, 10, 14, 0, -12, 10, 37, 0, -23, 16, 38, 24, 1, 0, -16, 12, 16, 25
OFFSET
1,10
LINKS
FORMULA
a(n) = -Sum_{d|n, d<n} A008683(n/d)*A294898(d).
a(n) = A294898(n) - A297114(n).
a(n) = A300244(n) - A001065(n).
PROG
(PARI)
A005187(n) = { my(s=n); while(n>>=1, s+=n); s; };
A317844(n) = -sumdiv(n, d, (d<n)*moebius(n/d)*(A005187(d)-sigma(d)));
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 09 2018
STATUS
approved