Find the whole number x below n satisfying a·x ≡ b by testing residues

Grade 9 · Discrete math

A printable worksheet with 12 problems and an answer key. Change the number of problems, mix in a related skill, or press “New set” for different numbers. Nothing to sign up for.

The link in your address bar makes this exact sheet again. Share it and everyone prints the same problems.

Find the whole number x below n satisfying a·x ≡ b by testing residues

Grade 9 · Discrete math

Name ____________________
Date ______________
  1. 1.
    Find the whole number x with 0 ≤ x < 13 satisfying 2x ≡ 6 (mod 13).
  2. 2.
    Find the whole number x with 0 ≤ x < 11 satisfying 2x ≡ 4 (mod 11).
  3. 3.
    Find the whole number x with 0 ≤ x < 5 satisfying 3x ≡ 1 (mod 5).
  4. 4.
    Find the whole number x with 0 ≤ x < 11 satisfying 10x ≡ 6 (mod 11).
  5. 5.
    Find the whole number x with 0 ≤ x < 13 satisfying 2x ≡ 10 (mod 13).
  6. 6.
    Find the whole number x with 0 ≤ x < 5 satisfying 4x ≡ 4 (mod 5).
  7. 7.
    Find the whole number x with 0 ≤ x < 13 satisfying 10x ≡ 0 (mod 13).
  8. 8.
    Find the whole number x with 0 ≤ x < 7 satisfying 2x ≡ 3 (mod 7).
  9. 9.
    Find the whole number x with 0 ≤ x < 11 satisfying 10x ≡ 2 (mod 11).
  10. 10.
    Find the whole number x with 0 ≤ x < 5 satisfying 2x ≡ 0 (mod 5).
  11. 11.
    Find the whole number x with 0 ≤ x < 7 satisfying 5x ≡ 1 (mod 7).
  12. 12.
    Find the whole number x with 0 ≤ x < 11 satisfying 7x ≡ 4 (mod 11).
rabbithole.school/math-worksheets/find-the-whole-number-x-below-n-satisfying-a-x-b-by-testing-residuesSet 1

Answer key

Find the whole number x below n satisfying a·x ≡ b by testing residues · set 1

  1. 1. 3
  2. 2. 2
  3. 3. 2
  4. 4. 5
  5. 5. 5
  6. 6. 1
  7. 7. 0
  8. 8. 5
  9. 9. 9
  10. 10. 0
  11. 11. 3
  12. 12. 10

About this skill

3x ≡ 1 (mod 5) asks for a number x from 0 to 4 where 3x leaves a remainder of 1 when divided by 5. Testing x = 2 gives 6, which leaves a remainder of 1, so x = 2. Each problem gives a modulus of 5 to 13 and asks for x by trying the possible values. It builds on computing a GCD with the Euclidean algorithm and on adding and multiplying modulo n.

If this sheet is too hard, try one of the skills it builds on. If it’s easy, try what comes next.

What it builds on