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!)
A205172 Primes p == 5 (mod 8) such that p + 2 is also prime. 2
5, 29, 101, 149, 197, 269, 461, 821, 1061, 1229, 1277, 1301, 1877, 1949, 1997, 2141, 2237, 2309, 2381, 2549, 2789, 3389, 3461, 3557, 3581, 3821, 3917, 4157, 4229, 4421, 4517, 4637, 5021, 5477, 5501, 5741, 6197, 6269, 6701, 6869, 7349, 7589, 7757, 7877 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The lesser of twin primes == 5 (mod 8).
LINKS
MAPLE
select(t -> isprime(t) and isprime(t+2), [seq(i, i=5..10000, 8)]); # Robert Israel, Nov 25 2019
MATHEMATICA
Select[ Prime@ Range@ 1000, Mod[#, 8] == 5 && PrimeQ[# + 2] &]
PROG
(PARI) forprime(p=1, 7900, if(Mod(p, 8)==5 && ispseudoprime(p+2), print1(p, ", "))) \\ Felix Fröhlich, Nov 25 2019
CROSSREFS
Sequence in context: A211062 A330700 A264750 * A139856 A097345 A097344
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Jan 22 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 April 19 03:05 EDT 2024. Contains 371782 sequences. (Running on oeis4.)