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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A107295 Numbers n such that prime(n^2) - n^2 is prime. 0
 2, 4, 12, 14, 20, 42, 48, 56, 60, 88, 104, 120, 126, 134, 138, 160, 164, 182, 186, 204, 226, 254, 270, 276, 312, 316, 330, 336, 350, 382, 408, 410, 414, 422, 438, 448, 450, 480, 492, 494, 502, 522, 546, 568, 580, 596, 620, 624, 640, 650, 690, 696 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE 88 is in the sequence because prime(88^2) - 88^2 = prime(7744) - 7744 = 78977 - 7744 = 71233 = prime(7051). MATHEMATICA Select[Range[700], PrimeQ[Prime[#^2]-#^2]&] (* Harvey P. Dale, Jun 20 2015 *) PROG (PARI) isok(n) = isprime(prime(n^2) - n^2); \\ Michel Marcus, Oct 09 2013 CROSSREFS Cf. A064269 (prime(n)-n is prime), A141129 (prime(n^2)-n^2). Sequence in context: A039587 A194368 A111069 * A039564 A297064 A263466 Adjacent sequences:  A107292 A107293 A107294 * A107296 A107297 A107298 KEYWORD nonn AUTHOR Zak Seidov, May 20 2005 EXTENSIONS More terms from Michel Marcus, Oct 09 2013 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.

Last modified May 14 08:44 EDT 2021. Contains 343879 sequences. (Running on oeis4.)