Public-Key Math Essentials Checkpoint

Worked scenarios: trace state, diagnose mistakes, and apply the module contract.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. Find the least nonnegative inverse of 7 modulo 20.
2. Why does 6 have no multiplicative inverse modulo 15?

Select one answer.

3. Solve 6x ≡ 8 (mod 14). Give both residues in ascending order, comma-separated.
4. Two residues satisfy x≡1 mod4 and x≡3 mod6. Which conclusion is correct?

Select one answer.

5. Find the least nonnegative x satisfying x≡2 mod5 and x≡3 mod7.
6. A programmer computes an RSA private exponent as e inverse modulo n. What is the conceptual error?

Select one answer.

7. For toy RSA primes 5 and 11, what is lambda(n)=lcm(p-1,q-1)?
8. Square-and-multiply computes (a*b) % m using a fixed-width type. Both a,b are below m. Is overflow ruled out?

Select one answer.

Join Discord