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”).

A173295
Primes of the form n^2+n+1 or n^2+n+9.
0
3, 7, 11, 13, 29, 31, 43, 73, 157, 191, 211, 241, 281, 307, 389, 421, 463, 601, 659, 757, 821, 1123, 1483, 1723, 1901, 2459, 2551, 2971, 3089, 3307, 3541, 3907, 4423, 4831, 5113, 5701, 5861, 6007, 6163, 6329, 6481, 7841, 8011, 8191, 9901, 10303, 11131
OFFSET
1,1
EXAMPLE
a(1)=3 because 1^2+1+1=3 is prime, a(3)=11 because 1^2+1+9=11 is prime.
MATHEMATICA
Union[Select[Flatten[Table[n^2+n+{1, 9}, {n, 200}]], PrimeQ]] (* Harvey P. Dale, Aug 28 2012 *)
CROSSREFS
Sequence in context: A111363 A193258 A114273 * A191040 A074336 A086475
KEYWORD
nonn
AUTHOR
EXTENSIONS
Added 3, removed 133, replaced 607 by 601 - R. J. Mathar, Feb 24 2010
STATUS
approved