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

A340362
a(n) = A005940(n) - A324106(n), where A324106(n) is multiplicative with a(p^e) = A005940(p^e).
3
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, -32, 0, -12, 0, 0, 0, -12, 0, 0, 16, 0, 0, 140, 0, 0, 0, 0, 0, 114, 0, 0, 0, 150, 0, 280, 0, 0, 48, 0, 0, 180, 0, -108, -64, 0, 0, -70, -24, 0, 0, 0, 0, 18, 0, 140, -24, 0, 0, 0, 0, 0, 32, 330, 0, -60, 0, 0, 280, 300, 0, 632, 0, 300
OFFSET
1,15
COMMENTS
It is conjectured that A070776 gives the positions of all zeros after the initial a(1) = 0. If that holds, then for all i, j: a(i) = a(j) => A340363(i) = A340363(j).
LINKS
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940
A324106(n) = { my(f=factor(n)); prod(i=1, #f~, A005940(f[i, 1]^f[i, 2])); };
A340362(n) = (A005940(n)-A324106(n));
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Jan 06 2021
STATUS
approved