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!)
A249606 Primes of the form 2k^2 + k + 2. 0
2, 5, 23, 107, 173, 353, 467, 743, 1277, 1487, 2213, 2777, 3083, 10733, 14537, 15227, 17393, 18917, 21323, 22157, 23873, 33413, 36587, 38783, 42197, 50723, 54617, 71633, 94397, 101477, 112577, 118343, 122267, 128273, 130307, 140717, 149333, 174347, 203843 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
k=0: 2*0^2 + 0 + 2 = 0 + 0 + 2 = 2.
k=1: 2*1^2 + 1 + 2 = 2 + 1 + 2 = 5.
k=3: 2*3^2 + 3 + 2 = 18 + 3 + 2 = 23.
k=7: 2*7^2 + 7 + 2 = 98 + 7 + 2 = 107.
MATHEMATICA
Select[Table[2 n^2 + n + 2, {n, 0, 18000}], PrimeQ] (* Vincenzo Librandi, Nov 02 2014 *)
PROG
(PARI) for(k=0, 10^3, my(t=2*k^2+k+2); if(isprime(t), print1(t, ", "))); \\ Joerg Arndt, Nov 02 2014
(Magma) [a: n in [0..300] | IsPrime(a) where a is 2*n^2 + n + 2 ]; // Vincenzo Librandi, Nov 02 2014
CROSSREFS
Sequence in context: A371308 A038833 A279819 * A003501 A006990 A358608
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Nov 02 2014
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 19 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)