T. Andreescu/D. Andrica: Quadratic diophantine equations.
Springer 2008, 250p. $60.

18008 Goro Shimura: Quadratic diophantine equations, the class number, and
the mass formula. Bull. AMS 43/3 (2006), 285-304.