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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074381 (p-1)/2 mod 2, where p is the n-th prime for which p+2 is also prime; i.e. a(n)=0 if p==1 (mod 4), a(n)=1 if p==3 (mod 4). 0
1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MATHEMATICA

Mod[(Select[Prime/@Range[600], PrimeQ[ #+2]&]-1)/2, 2]

CROSSREFS

Cf. A001359, A071695, A071698.

Sequence in context: A014789 A014669 A185276 * A179560 A128407 A134286

Adjacent sequences:  A074378 A074379 A074380 * A074382 A074383 A074384

KEYWORD

nonn,easy

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Sep 24 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com) and Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 09 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 09:56 EST 2012. Contains 205614 sequences.