Math · Foundational · Lesson 7 of 9
Fermat’s Little Theorem
Powers that come back to 1
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Fermat: for prime and not divisible by , .
- Reduce huge exponents mod .
- Failing the Fermat test proves a number is composite.
Steps
- A surprising pattern
- Powers around a clock
- A big power, quickly
- Using Fermat
- Shrinking a huge power
- A primality test