login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A200244 a(n)=1 iff binary weight of n-th prime is even. 3
0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
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

Sequence in context: A280910 A305816 A241979 * A261185 A093692 A254114

Adjacent sequences:  A200241 A200242 A200243 * A200245 A200246 A200247

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Nov 15 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 21 04:47 EST 2019. Contains 329350 sequences. (Running on oeis4.)