State Fermat’s Little Theorem
Apply Fermat’s Little Theorem when performing exponentiation modulo a prime modulus
State Euler’s Theorem
Apply Euler’s Theorem when performing modular exponentiation
Use the Chinese Remainder Theorem when performing exponentiation modulo a composite modulus
“Appreciate that attempting to prove number theoretic results can be a fun challenge!”
(🙃 presumably some proofs practice here)