%I #17 Feb 22 2024 17:45:46
%S 0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,
%T 0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,1,0,0,
%U 0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,1,0,1,1,1,0,0,0,0,0,1
%N a(0) = 0, a(1) = 1, and for n > 1, a(n) = 1 if the least prime dividing the arithmetic derivative of n is equal to the least prime not dividing n, otherwise a(n) = 0.
%C Question: Does this sequence have an asymptotic mean?
%H Antti Karttunen, <a href="/A370124/b370124.txt">Table of n, a(n) for n = 0..100000</a>
%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%F For n > 1, a(n) = [A020639(A003415(n)) == A053669(n)], where [ ] is the Iverson bracket.
%F For n > 1, a(n) = [A020639(A003415(n)) == A020639(A276086(n))].
%e a(1) = 1 because A003415(1) = 0, every prime divides zero, including the smallest of primes, which is 2, and 2 is also the least prime that does not divide 1.
%o (PARI)
%o A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
%o A020639(n) = if(1==n,n,vecmin(factor(n)[, 1]));
%o A053669(n) = forprime(p=2, , if(n%p, return(p)));
%o A370124(n) = if(n<2,n,(A020639(A003415(n))==A053669(n)));
%Y Characteristic function of A370125.
%Y Cf. A003415, A020639, A053669, A276086.
%K nonn
%O 0
%A _Antti Karttunen_, Feb 21 2024