OFFSET
1
COMMENTS
Characteristic function of A027700.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[1 - Mod[Total[IntegerDigits[Prime[n], 2]], 2], {n, 100}] (* T. D. Noe, Nov 21 2011 *)
PROG
(Magma) [IsEven(&+Intseq(NthPrime(n), 2)) select 1 else 0: n in [1..100]]; // Bruno Berselli, Nov 16 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 15 2011
STATUS
approved