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”).

A324877
Xor-Moebius transform of A324867, where A324867(n) = A156552(n) XOR (A323243(n) - A156552(n)).
5
0, 1, 3, 3, 7, 6, 15, 4, 3, 11, 31, 13, 63, 30, 6, 0, 127, 11, 255, 28, 11, 48, 511, 24, 27, 108, 4, 61, 1023, 16, 2047, 24, 42, 208, 10, 20, 4095, 510, 48, 32, 8191, 58, 16383, 111, 25, 736, 32767, 56, 51, 9, 132, 211, 65535, 20, 11, 108, 240, 1770, 131071, 38, 262143, 3408, 52, 8, 70, 95, 524287, 387, 762, 62, 1048575, 44, 2097151, 7932, 19, 877, 10
OFFSET
1,3
PROG
(PARI)
A324867(n) = { my(k=A156552(n)); bitxor(k, (A323243(n)-k)); }; \\ Needs also code from A323243.
A324877(n) = { my(v=0); fordiv(n, d, if(issquarefree(n/d), v=bitxor(v, A324867(d)))); (v); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 18 2019
STATUS
approved