A155770 Primes of form: 2*n^2+2*n-41.
19, 43, 71, 103, 139, 179, 223, 271, 379, 439, 503, 571, 643, 719, 883, 971, 1063, 1259, 1471, 1583, 1699, 2203, 2339, 3079, 3571, 3919, 4099, 4283, 4663, 5059, 5471, 5683, 6343, 6571, 6803, 7039, 7523, 8539, 8803, 9343, 9619, 11059, 11971, 12919, 13903
Offset: 1
Examples
19 is in this sequence because 2*5^2+2*5-41=19.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[a: n in [4..100] | IsPrime(a) where a is 2*n^2+2*n-41 ]; // Vincenzo Librandi, Sep 11 2013
-
Mathematica
Select[Table[2 n^2 + 2 n - 41, {n, 4, 100}], PrimeQ] (* Vincenzo Librandi, Sep 11 2013 *)
-
PARI
is(n)=isprime(2*n^2+2*n-41) \\ Charles R Greathouse IV, Sep 11 2013