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”).
%I #12 Dec 03 2022 20:26:38
%S 1,0,0,0,0,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,1,0,0,0,
%T 0,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,1,0,0,0,0,0,0,0,
%U 0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,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,0,0,0,0,1,0,0,0,0,0,1
%N a(n) = 1 if A276086(n) is of the form 6k+1, where A276086 is the primorial base exp-function.
%H Antti Karttunen, <a href="/A358841/b358841.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) = [1 == A276086(n) mod 6], where [ ] is the Iverson bracket.
%F a(n) = [2 == A328578(n)].
%F a(n) = A079979(n) - A358842(n) = A059841(n) - A120325(n) - A358842(n).
%o (PARI) A358841(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (1==(m%6)); };
%Y Characteristic function of A328632.
%Y Cf. A059841, A079979, A120325, A276086, A328578, A358840, A358842.
%Y Cf. also A353488.
%K nonn
%O 0
%A _Antti Karttunen_, Dec 02 2022