Pell-Fermat equations