%I #17 Jan 20 2024 11:28:10
%S 0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,
%T 0,0,0,0,0,0,1,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,
%U 1,0,0,0,0,0,0,0,1,0,0,0,0,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,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0
%N a(n) = 1 if A327860(n) is of the form 4m+2, otherwise 0, where A327860 is the arithmetic derivative of the primorial base exp-function.
%C Asymptotic mean seems to be 1/8. See comments in A369034.
%H Antti Karttunen, <a href="/A369036/b369036.txt">Table of n, a(n) for n = 0..100000</a>
%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%H <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F a(n) = [A353630(n) == 2], where [ ] is the Iverson bracket.
%F a(n) = A121262(n) - A369034(n).
%F a(n) = A353495(A276086(n)).
%o (PARI)
%o A327860(n) = { my(s=0, m=1, p=2, e); while(n, e = (n%p); m *= (p^e); s += (e/p); n = n\p; p = nextprime(1+p)); (s*m); };
%o A369036(n) = (2==(A327860(n)%4));
%Y Characteristic function of A369037.
%Y Cf. A121262, A276086, A327860, A353495, A353630, A369034.
%K nonn
%O 0
%A _Antti Karttunen_, Jan 20 2024
|