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!)
A122062 Numbers n such that n^2 + 16 is prime. 3

%I #16 Sep 08 2022 08:45:28

%S 1,5,9,11,15,21,25,29,31,41,49,51,55,65,75,79,81,89,91,95,99,109,115,

%T 119,121,125,129,151,165,179,191,211,219,221,229,231,245,249,265,275,

%U 281,289,291,295,299,301,311,315,335,351,355,361,365,369,381,389,391

%N Numbers n such that n^2 + 16 is prime.

%H Daniel Starodubtsev, <a href="/A122062/b122062.txt">Table of n, a(n) for n = 1..5000</a>

%e If n=99 then n^2 + 16 = 9817 (prime).

%t Select[Range[1,501,2],PrimeQ[16+#^2]&] (* _Harvey P. Dale_, Dec 04 2018 *)

%o (Magma) [n: n in [0..6000] | IsPrime(n^2 + 16)] - _Vincenzo Librandi_, Nov 13 2010

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

%Y Cf. A005574, A067201, A049422, A007591, A078402, A114269, A114271, A114272, A114273, A114274, A114275, A113536, A121250, A121982.

%K nonn

%O 1,2

%A _Parthasarathy Nambi_, Sep 14 2006

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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)