editing
approved
editing
approved
Also, primes p such that Legendre(-2,p) = 0 or 1. - N. J. A. Sloane, Dec 25 2017
approved
editing
editing
approved
Also, primes which are a square (mod 19) (or, (mod 38) - cf. A191028). - M. F. Hasler, Jan 15 2016
(PARI) select(p->issquare(Mod(p, 19))&&isprime(p), [1..1000]) \\ M. F. Hasler, Jan 15 2016
approved
editing
NON1234QuadPrimes2[1, -1, 5, 10000] (* see A106856 *)
QuadPrimes2NON1234[1, -1, 5, 10000] (* see A106856 *)
Vincenzo Librandi and Ray Chandler, <a href="/A106863/b106863_1.txt">Table of n, a(n) for n = 1..10000</a> [First 5000 terms from Vincenzo Librandi]
editing
approved
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)
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)
QuadPrimes[1, -1, 5, 10000] (* see A106856 *) Note: the original QuadPrimes had a bug which could sometimes give wrong answers. This sequence should be checked (unless the coefficient of xy in the quadratic form is zero, in which case QuadPrimes gives correct answers). - N. J. A. Sloane, Jun 04 2014
QuadPrimes2[1, -1, 5, 10000] (* see A106856 *)
approved
editing