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
1, 5, 9, 11, 15, 21, 25, 29, 31, 41, 49, 51, 55, 65, 75, 79, 81, 89, 91, 95, 99, 109, 115, 119, 121, 125, 129, 151, 165, 179, 191, 211, 219, 221, 229, 231, 245, 249, 265, 275, 281, 289, 291, 295, 299, 301, 311, 315, 335, 351, 355, 361, 365, 369, 381, 389, 391 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
If n=99 then n^2 + 16 = 9817 (prime).
MATHEMATICA
Select[Range[1, 501, 2], PrimeQ[16+#^2]&] (* Harvey P. Dale, Dec 04 2018 *)
PROG
(Magma) [n: n in [0..6000] | IsPrime(n^2 + 16)] - Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(n^2+16) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
Sequence in context: A314590 A314591 A314592 * A314593 A137011 A171629
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 14 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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)