OFFSET
1,1
COMMENTS
Discriminant = 60. Class = 4. Binary quadratic forms a*x^2+b*x*y+c*y^2 have discriminant d=b^2-4ac and gcd(a,b,c)=1.
This is also the list of primes p such that p = 2 or 5 or p is congruent to 17 or 53 mod 60. - Jean-François Alcover, Oct 28 2016
REFERENCES
Z. I. Borevich and I. R. Shafarevich, Number Theory.
LINKS
Juan Arias-de-Reyna, Table of n, a(n) for n = 1..10000
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS: Index to related sequences, programs, references. OEIS wiki, June 2014.
D. B. Zagier, Zetafunktionen und quadratische Körper, Springer, 1981.
EXAMPLE
a(3)=17 because we can write 17=2*2^2+6*2*1-3*1^2 (or 17=5*1^2+10*1*1+2*1^2).
MATHEMATICA
Select[Prime[Range[500]], # == 2 || # == 5 || MatchQ[Mod[#, 60], 17|53]&] (* Jean-François Alcover, Oct 28 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Laura Caballero Fernandez, Lourdes Calvo Moguer, Maria Josefa Cano Marquez, Oscar Jesus Falcon Ganfornina and Sergio Garrido Morales (oscfalgan(AT)yahoo.es), Jun 24 2008
STATUS
approved