Retrieval Quiz
Attempt closed-book, then check the answer key.
- Why is the canonical remainder of -23 modulo 7 equal to 5 rather than -2?
- Does a valid Bezout identity alone prove that the reported positive value is the gcd? What else must be checked?
- Why is 1 not prime, and why must a trial-division loop include the square-root boundary?
- Give the exact condition for an inverse modulo m>1 and explain failed cancellation modulo 6.
- State the invariant for repeated squaring. What does the exponent-zero/modulus-one case return?
- When does
ax ≡ b (mod m)have solutions, and how many canonical representatives does it have when solvable?
The quiz identifies repairs; progression is decided by the assessment gates, including independent transfer.