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!)
A085555 Primes p of the form x^2+4, such that either p-2 or p+2 is prime. 1
5, 13, 29, 229, 1093, 1229, 2029, 3253, 4229, 13693, 21613, 59053, 65029, 91813, 140629, 178933, 199813, 205213, 227533, 328333, 366029, 567013, 700573, 804613, 815413, 819029, 1071229, 1155629, 1311029, 1575029, 2241013, 3629029, 3822029 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
select(t -> isprime(t) and (isprime(t+2) or isprime(t-2)), [seq(x^2+4, x=1..10^4, 2)]); # Robert Israel, May 14 2018
MATHEMATICA
okQ[n_]:=PrimeQ[n]&&(PrimeQ[n-2]||PrimeQ[n+2]); Select[Range[ 2000]^2+4, okQ] (* Harvey P. Dale, Jul 14 2011 *)
CROSSREFS
Sequence in context: A146420 A147492 A182069 * A224888 A256314 A002768
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Jul 04 2003
EXTENSIONS
Edited by Don Reble, May 03 2006
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 21 19:35 EDT 2024. Contains 372738 sequences. (Running on oeis4.)