login
a(n) = 1 if 2*n + 1 is Sprime (A193258), else a(n) = 0.
1

%I #12 Dec 24 2019 17:30:32

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

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

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

%N a(n) = 1 if 2*n + 1 is Sprime (A193258), else a(n) = 0.

%H Ian R Harris, <a href="/A254634/a254634.pdf">Sprimes: A Sparse Prime-Like Sequence of Natural Numbers Generated by the Goldbach Conjecture</a>, Technical report TR-375.

%e a(1) = 1 because 2*1+1 = 3 is Sprime;

%e a(2) = 0 because 2*2+1 = 5 is not Sprime;

%e a(3) = 1 because 2*3+1 = 7 is Sprime;

%e a(4) = 0 because 2*4+1 = 9 is not Sprime.

%Y Cf. A193258, A101264.

%K nonn

%O 0

%A _Ian R Harris_, Feb 03 2015

%E Terms a(58) and beyond from _Andrew Howroyd_, Dec 23 2019