login
A341995
a(n) = 1 if the arithmetic derivative (A003415) of n is a prime, otherwise 0.
5
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, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 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, 1
OFFSET
0
FORMULA
a(n) = A010051(A003415(n)).
For all n > 0, a(n) <= A341994(n).
PROG
(PARI)
A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
A341995(n) = isprime(A003415(n));
CROSSREFS
Characteristic function of A157037.
Sequence in context: A275305 A169671 A070108 * A369655 A369965 A011675
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 28 2021
STATUS
approved