Euler–Fermat Theorem