OFFSET
1,1
REFERENCES
David A. Cox, "Primes of the Form x^2 + n y^2", Wiley, 1989.
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
The primes are congruent to {1, 25, 49, 97, 109, 121, 133, 157, 169, 193, 205, 253, 289, 349, 361} (mod 372). - T. D. Noe, Apr 29 2008
MATHEMATICA
QuadPrimes2[1, 0, 93, 10000] (* see A106856 *)
Select[Prime@Range[500], MemberQ[{1, 25, 49, 97, 109, 121, 133, 157, 169, 193, 205, 253, 289, 349, 361}, Mod[#, 372]] &] (* Vincenzo Librandi, Jul 02 2016 *)
PROG
(Magma) [p: p in PrimesUpTo(3000) | p mod 372 in {1, 25, 49, 97, 109, 121, 133, 157, 169, 193, 205, 253, 289, 349, 361}]; // Vincenzo Librandi, Jul 02 2016
(Magma) [p: p in PrimesUpTo(3000) | NormEquation(93, p) eq true]; // Bruno Berselli, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved