OFFSET
1,1
COMMENTS
Discriminant = 45. Class = 2. Binary quadratic forms a*x^2 + b*x*y + c*y^2 have discriminant d = b^2 - 4ac.
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(2) = 29 because we can write 29 = -1^2 + 5*1*2 + 5*2^2 (or 29 = 9*1^2 + 15*1*1 + 5*1^2)
MATHEMATICA
Select[Prime[Range[250]], # == 5 || MatchQ[Mod[#, 45], Alternatives[11, 14, 26, 29, 41, 44]]&] (* 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 (marcanmar(AT)alum.us.es), Jun 12 2008
STATUS
approved