login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A121982
Numbers n such that n^2 + 15 is prime.
8
2, 4, 8, 14, 16, 22, 26, 32, 34, 38, 44, 46, 52, 64, 68, 76, 86, 88, 98, 104, 106, 124, 134, 158, 172, 178, 184, 196, 202, 206, 212, 236, 238, 242, 248, 256, 262, 272, 284, 296, 298, 304, 316, 322, 326, 328, 338, 356, 362, 364, 374, 386, 388, 394, 398, 452, 472
OFFSET
1,1
LINKS
EXAMPLE
If n=104 then n^2 + 15 = 10831 (prime).
MATHEMATICA
Select[Range[200], PrimeQ[#1^2 + 15] &] (* G. C. Greubel, Sep 13 2017 *)
PROG
(Magma) [n: n in [0..6000] | IsPrime(n^2 + 15)] // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(n^2+15) \\ Charles R Greathouse IV, Feb 17 2017
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 09 2006
STATUS
approved