A090698 Primes of the form 2*n^2+1.
3, 19, 73, 163, 883, 1153, 1459, 1801, 2179, 2593, 3529, 4051, 8713, 10369, 11251, 15139, 17299, 18433, 19603, 20809, 22051, 30259, 34849, 36451, 46819, 48673, 52489, 62659, 69193, 71443, 80803, 83233, 95923, 103969, 112339, 115201, 130051
Offset: 1
Examples
19 = 2^2 + 4^2 - 1 = 2*(3^2)+1 73 = 5^2 + 7^2 - 1 = 2*(6^2)+1 163= 8^2 + 10^2 -1 = 2*(9^2)+1 883= 10^2+ 28^2 -1 = 2*(21^2)+1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..5000
Programs
-
Magma
[a: n in [0..400] | IsPrime(a) where a is 2*n^2+1];// Vincenzo Librandi, Dec 02 2011
-
Mathematica
Select[Table[2n^2+1,{n,0,900}],PrimeQ] (* Vincenzo Librandi, Dec 02 2011 *)
-
PARI
is(n)=isprime(2*n^2+1) \\ Charles R Greathouse IV, Jan 05 2013
Extensions
Extended by Ray Chandler, Dec 21 2003
Comments