login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A155737
Primes of the form 4*n^2 + 2*n -1.
3
5, 19, 41, 71, 109, 271, 419, 599, 701, 811, 929, 1481, 1979, 2161, 2351, 2549, 2969, 3191, 3659, 4159, 4421, 4691, 4969, 5851, 7481, 8929, 9311, 10099, 13109, 14519, 16001, 17029, 18089, 19181, 19739, 20879, 22051, 23869, 25121, 25759, 27059
OFFSET
1,1
COMMENTS
Primes in A125202. - Klaus Purath, Dec 09 2020
LINKS
MATHEMATICA
Select[Table[4n^2+2n-1, {n, 0, 200}], PrimeQ] (* Vincenzo Librandi, Jul 23 2012 *)
PROG
(Magma) [a: n in [0..100] | IsPrime(a) where a is 4*n^2+2*n-1]; // Vincenzo Librandi, Jul 23 2012
(PARI) (for (n=0, 100, if (isprime (k=4*n^2+2*n-1), print1 (k, ", ")))); \\ Vincenzo Librandi, Jul 23 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 26 2009
EXTENSIONS
Incorrect formula deleted by N. J. A. Sloane, Jun 16 2010
STATUS
approved