https://9dok.org/document/qo5g182m-on-the-resolution-of-simultaneous-pell-equations.html