login

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

a(n) = 1 if A354347(n) = -1, otherwise 0.
2

%I #7 Jun 07 2022 16:23:17

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

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

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

%N a(n) = 1 if A354347(n) = -1, otherwise 0.

%H Antti Karttunen, <a href="/A354817/b354817.txt">Table of n, a(n) for n = 1..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>

%o (PARI) A354817(n) = (-1==A354347(n));

%Y Characteristic function of A354816.

%Y Cf. A354347.

%K nonn

%O 1

%A _Antti Karttunen_, Jun 07 2022