The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A074396 a(n) = 10 - (p mod 10), where p is the n-th prime congruent to 1 (mod 4) for which p+2 is also prime. 0
5, 3, 1, 9, 9, 3, 1, 3, 1, 9, 9, 9, 1, 3, 9, 1, 9, 3, 9, 1, 9, 1, 3, 1, 9, 9, 3, 9, 3, 1, 3, 9, 1, 9, 3, 1, 9, 1, 3, 1, 1, 9, 1, 3, 1, 1, 9, 3, 9, 9, 3, 1, 9, 1, 3, 3, 1, 9, 3, 9, 9, 3, 3, 1, 9, 1, 9, 3, 9, 3, 9, 3, 9, 1, 1, 3, 1, 1, 1, 1, 9, 9, 1, 1, 3, 1, 3, 3, 1, 1, 1, 3, 3, 3, 9, 1, 9, 9, 9, 3, 9, 1, 3, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The first 5 such primes are 5, 17, 29, 41, 101. For these, 10 - (p mod 10) is 5, 3, 1, 9, 9.
MATHEMATICA
10-Mod[ #, 10]&/@Select[Prime/@Range[1500], PrimeQ[ #+2]&&Mod[ #, 4]==1&]
CROSSREFS
Cf. A071695.
Sequence in context: A262674 A011363 A021192 * A229958 A157891 A173644
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 24 2002
EXTENSIONS
Edited by Dean Hickerson, Oct 09 2002
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 May 18 02:04 EDT 2024. Contains 372615 sequences. (Running on oeis4.)