(MAGMAMagma) [ p: p in PrimesUpTo(6000) | p mod 312 in [55, 79, 103, 127, 199, 295]]; // Vincenzo Librandi, Aug 01 2012
(MAGMAMagma) [ p: p in PrimesUpTo(6000) | p mod 312 in [55, 79, 103, 127, 199, 295]]; // Vincenzo Librandi, Aug 01 2012
NON1234QuadPrimes2[4, -4, 79, 10000] (* see A106856 *)
QuadPrimes2NON1234[4, -4, 79, 10000] (* see A106856 *)
Vincenzo Librandi and Ray Chandler, <a href="/A139922/b139922_1.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 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[4, -4, 79, 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[4, -4, 79, 10000] (* see A106856 *)
approved
editing
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)
approved
editing
QuadPrimes[4, -4, 79, 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