login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

If A276086(n) is of the form 4k+1, then a(n) = 1, otherwise a(n) = 0.
9

%I #11 Apr 25 2022 08:04:34

%S 1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,

%T 0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,

%U 0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0

%N If A276086(n) is of the form 4k+1, then a(n) = 1, otherwise a(n) = 0.

%H Antti Karttunen, <a href="/A353488/b353488.txt">Table of n, a(n) for n = 0..65537</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 iff A353486(n) = 1, and 0 otherwise.

%F a(n) = A059841(n) - A353489(n).

%o (PARI)

%o A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };

%o A353488(n) = (1==(A276086(n)%4));

%Y Characteristic function of A353465.

%Y Cf. A059841, A276086, A353486, A353487, A353489.

%K nonn,base

%O 0

%A _Antti Karttunen_, Apr 24 2022