A description of the algorithm is at Lagrange's Algorithm Revisited: Solving at2+btu+cu2=n in the Case of Negative Discriminant, Journal of Integer Sequences, Vol. 17 (2014), Article 14.11.1.
E = 1 is verbose.
Last modified 28th August 2014
Return to main page