Fermat's Little Theorem
Level 3
Coming soon
This lesson is being written. Explore the graph meanwhile.
You will need
- Modular ArithmeticArithmetic on a clock: numbers wrap around after a fixed size n, so two numbers are equal mod n when they leave the same remainder.
- Prime NumberA prime is a whole number greater than 1 whose only positive divisors are 1 and itself, and every whole number factors into primes in exactly one way.
Unlocks
- Euler's Totient FunctionEuler's totient of n counts the whole numbers from 1 to n that share no factor with n, and it is the key number in Euler's theorem about powers mod n.
- Finite FieldA finite field is a field with finitely many elements, such as the integers mod a prime; it exists for every prime power, and it lets you add, subtract, multiply and divide with no leftovers.
- Public-Key CryptographyPublic-key cryptography gives each party a key pair: a public key anyone can see and a private key only its owner keeps, so strangers can communicate securely.