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

A139509
Primes of the form x^2 + 29x*y + y^2 for x and y nonnegative.
1
31, 97, 211, 373, 547, 607, 661, 769, 877, 1051, 1087, 1123, 1249, 1279, 1303, 1423, 1597, 1657, 1663, 1693, 1741, 1777, 1861, 1867, 2143, 2179, 2251, 2341, 2467, 2539, 2791, 2857, 3229, 3259, 3319, 3331, 3373, 3511, 3541, 3643, 3697, 3769, 3823, 3877
OFFSET
1,1
LINKS
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
a = {}; w = 29; k = 1; Do[Do[If[PrimeQ[n^2 + w*n*m + k*m^2], AppendTo[a, n^2 + w*n*m + k*m^2]], {n, m, 400}], {m, 1, 400}]; Union[a] (*Artur Jasinski*)
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 24 2008
STATUS
approved