login
Primes of the form x^2 + 11x*y + y^2 for x and y nonnegative.
2

%I #4 Jun 19 2014 15:21:06

%S 13,43,61,79,103,127,139,157,181,199,211,277,283,313,337,367,373,433,

%T 439,523,547,571,601,607,673,727,751,757,823,829,859,883,907,919,937,

%U 991,997,1039,1063,1069,1093,1117,1153,1171,1213,1231,1249,1291,1297

%N Primes of the form x^2 + 11x*y + y^2 for x and y nonnegative.

%H N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)

%t a = {}; w = 11; 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*)

%Y Cf. A139489, A007645, A068228, A007519, A033212, A033212, A107152, A107008, A033215, A107145, A139490, A139491.

%K nonn

%O 1,1

%A _Artur Jasinski_, Apr 24 2008