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!)
 A028876 Numbers n such that n^2 - 5 is prime. 4

%I

%S 4,6,8,12,14,16,22,24,32,34,36,38,42,44,46,52,58,64,72,74,78,82,94,

%T 102,112,116,122,132,144,152,164,166,168,174,176,182,184,186,188,198,

%U 204,212,222,226,232,234,236,252,262,264,278,284,288,292,298,302,318,324

%N Numbers n such that n^2 - 5 is prime.

%H G. C. Greubel, <a href="/A028876/b028876.txt">Table of n, a(n) for n = 1..1000</a>

%H P. De Geest, <a href="http://www.worldofnumbers.com/consemor.htm">Palindromic Quasipronics of the form n(n+x)</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Near-SquarePrime.html">Near-Square Prime</a>

%t Select[Range[400], PrimeQ[#^2 - 5] &] (* _Alonso del Arte_, Aug 27 2013 *)

%o (MAGMA) [n: n in [2..1000] |IsPrime(n^2 - 5 )] // _Vincenzo Librandi_, Nov 18 2010

%o (PARI) is(n)=isprime(n^2-5) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A028875, A028877.

%K nonn,easy

%O 1,1

%A _Patrick De Geest_

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 March 31 16:23 EDT 2020. Contains 333151 sequences. (Running on oeis4.)