A048097 Numbers k such that k^2 + k + 11 is prime.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 15, 16, 17, 18, 20, 23, 25, 28, 29, 30, 34, 38, 39, 41, 45, 47, 51, 52, 56, 58, 60, 61, 62, 67, 68, 73, 75, 78, 80, 81, 83, 84, 85, 93, 94, 96, 100, 101, 103, 106, 108, 113, 114, 122, 123, 124, 125, 127, 130, 135
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[n: n in [0..150] |IsPrime(n^2+n+11)]; // Vincenzo Librandi, Aug 06 2010
-
Mathematica
Select[Range[0,150],PrimeQ[#^2+#+11]&] (* Harvey P. Dale, May 18 2011 *)
-
PARI
is(n)=isprime(n^2+n+11) \\ Charles R Greathouse IV, Feb 17 2017