login
Primes of the form x^2-xy+17y^2, with x and y nonnegative.
5

%I #19 Dec 25 2017 20:27:18

%S 17,19,23,29,37,47,59,67,71,73,83,89,103,107,127,131,149,151,157,163,

%T 167,173,181,193,199,211,223,227,241,257,263,269,277,283,293,307,317,

%U 349,359,389,397,419,421,431,439,449,457,461,467,479,491,509,523,557

%N Primes of the form x^2-xy+17y^2, with x and y nonnegative.

%C Discriminant=-67.

%C Also, primes p such that Legendre(-67,p) = 0 or 1. - _N. J. A. Sloane_, Dec 25 2017

%H Vincenzo Librandi and Ray Chandler, <a href="/A106933/b106933.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]

%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 QuadPrimes2[1, -1, 17, 10000] (* see A106856 *)

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 09 2005