login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A194808 Twin primes modulo 5. 0
3, 0, 2, 1, 3, 2, 4, 4, 1, 1, 3, 4, 1, 1, 3, 1, 3, 2, 4, 2, 4, 4, 1, 4, 1, 1, 3, 2, 4, 2, 4, 4, 1, 4, 1, 1, 3, 1, 3, 2, 4, 4, 1, 1, 3, 1, 3, 1, 3, 4, 1, 4, 1, 2, 4, 1, 3, 4, 1, 4, 1, 1, 3, 2, 4, 2, 4, 1, 3, 4, 1, 1, 3, 4, 1, 1, 3, 1, 3, 1, 3, 4, 1, 2, 4, 4, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A001097(n) mod 5.
MATHEMATICA
Mod[Select[Prime[Range[300]], PrimeQ[# - 2] || PrimeQ[# + 2] &], 5] (* T. D. Noe, May 21 2012 *)
Mod[Union[Flatten[Select[Partition[Prime[Range[300]], 2, 1], #[[2]]-#[[1]] == 2&]]], 5] (* Harvey P. Dale, Apr 25 2018 *)
CROSSREFS
Sequence in context: A238133 A317922 A337320 * A329204 A268464 A165066
KEYWORD
nonn
AUTHOR
Jiri Mazurek, May 17 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 00:19 EDT 2024. Contains 375171 sequences. (Running on oeis4.)