Buchmann, Johannes Binary quadratic forms : An algorithmic approach / by Johannes Buchmann - new york Springer 2007 - 318p.