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

A359792
a(n) = (-1)^A003415(n), where A003415 is the arithmetic derivative of n.
3
1, -1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, -1
OFFSET
1
COMMENTS
Not multiplicative.
LINKS
FORMULA
a(n) = (-1)^A165560(n).
a(n) = A358680(n) - A165560(n).
PROG
(PARI)
A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
A359792(n) = ((-1)^A003415(n));
CROSSREFS
Cf. A003415, A165560, A358680, A359793 (Dirichlet inverse).
Sequence in context: A359154 A359166 A359581 * A362927 A362928 A071935
KEYWORD
sign
AUTHOR
Antti Karttunen, Jan 14 2023
STATUS
approved