Modular Arithmetic (Hard)
Late AMC 10/12 through early AIME — dense computation.
Modular Arithmetic: core idea
CRT systems.
Example problem: hint and answer
Find .
Hint: Fermat / order. Answer: 1.
Practice (9 problems — type your answers)
1. Smallest positive with , , .
2. Last two digits of .
3. .
4. Number of solutions to .
5. Least composite with ?
6. .
7. How many are coprime to ?
8. Order of modulo .
9. Inverse of modulo .