login
A027756
Numbers k such that k^2 + k + 7 is prime.
3
0, 2, 3, 5, 8, 9, 11, 12, 17, 18, 24, 26, 29, 30, 32, 33, 38, 39, 44, 50, 51, 57, 59, 65, 71, 74, 86, 89, 92, 95, 96, 99, 102, 108, 113, 122, 123, 128, 131, 134, 135, 137, 141, 143, 144, 156, 159, 164, 165, 170, 173, 176, 177, 180, 183, 198, 201, 206
OFFSET
1,2
LINKS
P. De Geest, World!Of Numbers
MATHEMATICA
Select[Range[0, 250], PrimeQ[#^2+#+7]&] (* Harvey P. Dale, Oct 10 2011 *)
PROG
(Magma) [n: n in [0..250] | IsPrime(n^2+n+7)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(n^2+n+7) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
Cf. A005471 (associated primes).
Sequence in context: A096974 A286486 A285092 * A119863 A285253 A047254
KEYWORD
nonn,easy
STATUS
approved