Binary Quadratic Forms by Johannes Buchmann & Ulrich Vollmer