login
A254634
a(n) = 1 if 2*n + 1 is Sprime (A193258), else a(n) = 0.
1
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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0
EXAMPLE
a(1) = 1 because 2*1+1 = 3 is Sprime;
a(2) = 0 because 2*2+1 = 5 is not Sprime;
a(3) = 1 because 2*3+1 = 7 is Sprime;
a(4) = 0 because 2*4+1 = 9 is not Sprime.
CROSSREFS
Sequence in context: A087429 A093075 A104120 * A108336 A279733 A176723
KEYWORD
nonn
AUTHOR
Ian R Harris, Feb 03 2015
EXTENSIONS
Terms a(58) and beyond from Andrew Howroyd, Dec 23 2019
STATUS
approved