login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A144561 Prime p such that p^2+13p+23 is prime. 2
2, 3, 5, 7, 19, 37, 41, 47, 59, 71, 73, 103, 157, 163, 211, 227, 229, 239, 283, 293, 311, 313, 337, 353, 359, 367, 419, 443, 463, 499, 521, 523, 577, 619, 643, 647, 653, 661, 733, 751, 787, 839, 853, 863, 877, 883, 929, 1021, 1069, 1087, 1123, 1129, 1163 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MAPLE

a := proc (n) if isprime(n) = true and isprime(n^2+13*n+23) = true then n else end if end proc: seq(a(n), n = 2 .. 1300); # Emeric Deutsch, Jan 20 2009

MATHEMATICA

Select[Prime[Range[200]], PrimeQ[#^2 + 13 # + 23] &] (* Vincenzo Librandi, Aug 30 2012 *)

PROG

(MAGMA) [p: p in PrimesUpTo(1500) | IsPrime(p^2+13*p+23)] // Vincenzo Librandi, Aug 30 2012

(PARI) isok(p) = isprime(p) && isprime(p^2+13*p+23); \\ Michel Marcus, Feb 10 2018

CROSSREFS

Cf. A153781.

Sequence in context: A087562 A154525 A288717 * A215156 A065724 A235620

Adjacent sequences:  A144558 A144559 A144560 * A144562 A144563 A144564

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jan 03 2009

EXTENSIONS

Extended by Emeric Deutsch, Jan 20 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 09:13 EDT 2020. Contains 335784 sequences. (Running on oeis4.)