login
A360109
a(n) = 1 if n is not multiple of 4, but its arithmetic derivative is, otherwise 0.
7
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1
OFFSET
0
FORMULA
a(n) = A166486(n) * A353494(n).
PROG
(PARI)
A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
A360109(n) = ((n%4)&&(0==(A003415(n)%4)));
CROSSREFS
Characteristic function of A360110.
After n=1 differs from A327932 for the first time at n=158, where a(158) = 0, while A327932(158) = 1.
Sequence in context: A326168 A033683 A216284 * A355452 A130638 A030217
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 31 2023
STATUS
approved