(MAGMAMagma) [p: p in PrimesUpTo(3000) | p mod 232 in [35, 51, 59, 67, 83, 91, 107, 115, 123, 139, 179, 187, 219, 227]]; // Vincenzo Librandi, Jul 31 2012
(MAGMAMagma) [p: p in PrimesUpTo(3000) | p mod 232 in [35, 51, 59, 67, 83, 91, 107, 115, 123, 139, 179, 187, 219, 227]]; // Vincenzo Librandi, Jul 31 2012
NON1234QuadPrimes2[4, -4, 59, 10000] (* see A106856 *)
QuadPrimes2NON1234[4, -4, 59, 10000] (* see A106856 *)
Vincenzo Librandi and Ray Chandler, <a href="/A139894/b139894_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, 59, 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, 59, 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, 59, 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