login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027756 Numbers n such that n^2 + n + 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

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

Adjacent sequences:  A027753 A027754 A027755 * A027757 A027758 A027759

KEYWORD

nonn,easy

AUTHOR

Patrick De Geest

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 13 10:24 EDT 2021. Contains 342935 sequences. (Running on oeis4.)