login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139495 Primes of the form x^2 + 12x*y + y^2 for x and y nonnegative. 1
29, 109, 149, 281, 389, 401, 421, 449, 541, 569, 641, 701, 709, 809, 821, 1009, 1061, 1129, 1201, 1229, 1289, 1381, 1409, 1429, 1481, 1549, 1621, 1709, 1789, 1801, 1901, 2069, 2081, 2129, 2221, 2269, 2381, 2389, 2521, 2549, 2689, 2741, 2801, 2909, 2969 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
a = {}; w = 12; 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*)
With[{nn=50}, Take[Union[Select[#[[1]]^2+12#[[1]]#[[2]]+#[[2]]^2&/@ Tuples[ Range[ nn], 2], PrimeQ]], nn]] (* Harvey P. Dale, Dec 18 2015 *)
CROSSREFS
Sequence in context: A138716 A276776 A142194 * A139983 A157184 A232783
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 24 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 14:17 EDT 2024. Contains 371740 sequences. (Running on oeis4.)