Find a Modular Inverse
Find an inverse by back-substitution and check its remainder.
Adult planning suggestion: about 9–12 · Logic & rule checking
- Players
- 2–4; cooperate, then exchange the checker role
- Time
- 15–25 minutes
- Materials
- Paper, pencil and the supplied player sheet; keep the host sheet separate.
Prepare
Place the target card a=5,m=17 and give each participant a division-and-remainder ledger. Learners need multiplication, signed subtraction and the idea of a remainder; an adult may calculate while a partner checks.
Follow the rule
Find x with 5 x leaving remainder 1 on division by 17. Run Euclid’s divisions, then substitute backwards to express 1 as an integer combination of 5 and 17.
Check each step
Record the dividend, divisor, quotient and remainder on every line. Substitute a whole expression in parentheses; losing a minus sign changes the result even if the division table was correct.
Worked example
17=3×5+2 and 5=2×2+1. Thus 1=5−2(17−3×5)=7×5−2×17. Reduce x into 0–16 and verify by multiplying it by 5.
Finish and adapt
Finish only after both the identity and remainder check pass. Challenge card a=6,m=15 has no inverse because their greatest common divisor is 3; do not keep guessing indefinitely.
Purpose, observation and provenance
Within this activity: Find an inverse by back-substitution and check its remainder.
Ask the checker to name a particular rule and show the recorded evidence. Speed alone is not the goal.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
CP Algorithms · Modular Inverse — Mechanism background only. Our small paper instance and role rotation are separate; no endorsement or unique-solution claim.
Secondary practice: Cooperation and explaining a check.
For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.
Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Find a Modular Inverse · Player materials
Place the target card a=5,m=17 and give each participant a division-and-remainder ledger. Learners need multiplication, signed subtraction and the idea of a remainder; an adult may calculate while a partner checks.
Find x with 5 x leaving remainder 1 on division by 17. Run Euclid’s divisions, then substitute backwards to express 1 as an integer combination of 5 and 17.
Record the dividend, divisor, quotient and remainder on every line. Substitute a whole expression in parentheses; losing a minus sign changes the result even if the division table was correct.
| Dividend / 被除数 | Divisor / 除数 | Quotient / 商 | Remainder / 余 |
|---|---|---|---|
| 17 | 5 | ||
| 5 | 2 | ||
| 2 | 1 |
| Step / cell | Decision / value | Rule checked |
|---|---|---|
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
Find a Modular Inverse · Host key — keep separate
Euclid rows (17,5,3,2),(5,2,2,1),(2,1,2,0). Inverse 7: 5×7=35=2×17+1. For 6,15 every linear combination is divisible by 3, so cannot equal 1.
Lead and check
Place the target card a=5,m=17 and give each participant a division-and-remainder ledger. Learners need multiplication, signed subtraction and the idea of a remainder; an adult may calculate while a partner checks.
Find x with 5 x leaving remainder 1 on division by 17. Run Euclid’s divisions, then substitute backwards to express 1 as an integer combination of 5 and 17.
Record the dividend, divisor, quotient and remainder on every line. Substitute a whole expression in parentheses; losing a minus sign changes the result even if the division table was correct.
17=3×5+2 and 5=2×2+1. Thus 1=5−2(17−3×5)=7×5−2×17. Reduce x into 0–16 and verify by multiplying it by 5.
Finish only after both the identity and remainder check pass. Challenge card a=6,m=15 has no inverse because their greatest common divisor is 3; do not keep guessing indefinitely.
Classroom: ten trios for 30 learners; one kit per trio. Rotate operator, recorder and checker. Age guidance is a planning suggestion; prerequisite support may be necessary.