Use Euclid’s algorithm to find gcd(708, 144).
Number theory & modular arithmetic worksheet with answers
1.Easy
a = 708b = 144
gcd(708, 144) =
2.Easy
Use Euclid’s algorithm to find gcd(810, 375).
a = 810b = 375
gcd(810, 375) =
3.Medium
Find the smallest positive integer x with x ≡ 6 (mod 7) and x ≡ 4 (mod 10).
x ≡ 6 (mod 7)x ≡ 4 (mod 10)
x =
4.Medium
Solve 39x ≡ 69 (mod 97). Give the solution x with 0 < x < 97.
39x ≡ 69 (mod 97)
x =
5.Hard
An RSA key uses p = 13, q = 43 and e = 5. Decrypt the ciphertext c = 48: find the message m.
p = 13q = 43e = 5c = 48
m =
6.Hard
How many solutions N does 42x ≡ 18 (mod 44) have in {0, 1, …, 43}?
42x ≡ 18 (mod 44)
N =
Answer key
- 1. gcd(708, 144) = 12
- 2. gcd(810, 375) = 15
- 3. x = 34
- 4. x = 54
- 5. m = 458
- 6. N = 2
Full step-by-step solutions: practise this topic on examproblems.com.