Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A359555 Primes p such that (p-2)^2 + 2 is also prime. 0
2, 3, 5, 11, 17, 23, 41, 47, 59, 83, 101, 107, 113, 149, 173, 227, 239, 251, 257, 311, 347, 353, 389, 419, 431, 443, 449, 479, 503, 557, 563, 653, 677, 683, 701, 809, 821, 839, 887, 911, 971, 983, 1013, 1181, 1217, 1223, 1373, 1427, 1439, 1499, 1511, 1601 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
11 is a term since (11-2)^2 + 2 = 83, 83 is prime, and so is 11.
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[(#-2)^2+2] &]
PROG
(PARI) isok(p)={isprime(p) && isprime((p-2)^2 + 2)} \\ Andrew Howroyd, Feb 14 2023
CROSSREFS
Sequence in context: A107438 A211204 A023206 * A049565 A094480 A215013
KEYWORD
nonn
AUTHOR
Rhys Feltman, Feb 11 2023
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 September 11 21:59 EDT 2024. Contains 375839 sequences. (Running on oeis4.)