Fermat’s little theorem (video) | Khan Academy

January 13, 2024

https://www.khanacademy.org/computing/computer-science/cryptography/random-algorithms-probability/v/fermat-s-little-theorem-visualization
a^p = a mod p