Modular Arithmetic (Medium)
AMC 10/12 mid (≈Q9–16) — multi-step.
Modular Arithmetic: core idea
Units digits / cycles.
Example problem: hint and answer
Compute .
Hint: Fermat: . Answer: 1.
Practice (9 problems — type your answers)
1. Find the smallest positive integer with and .
2. Compute .
3. What is the last digit of ?
4. Compute .
5. Find the smallest positive with and .
6. Compute .
7. How many integers are coprime to ?
8. Find the modular inverse of modulo .
9. Compute .