login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
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