Assignment Math Solved
Assignment Math Solved
N = 42 -> Coprimes: numbers less than 42 and not divisible by 2, 3, 7 -> phi(42) =
42*(1-1/2)*(1-1/3)*(1-1/7) = 12
2)
Multiplicative inverse: Find x such that 27x === 1 mod 100 -> x = 63 (since 27*63 = 1701 === 1
mod 100)
b) Euler Totients:
3) Modular inverses in Z*_9 using Euler's theorem (a^phi(n) === 1 mod n):
phi(9) = 6
1^5 === 1, 2^5 === 5, 4^5 === 7, 5^5 === 2, 7^5 === 4, 8^5 === 8 (mod 9)
4)
5)
7)
a) GCD(726, 1144) = 22
b) GCD(2184, 16170) = 6
c) GCD(113, 13) = 1
GCD(654, 123) = 3
9)
10)
a) y^2 === 3 mod 143 -> Try values -> y = 25, 118
b) y^2 === 421 mod 693 -> Use Tonelli-Shanks or trial -> y = 127, 566
11) Solve using Chinese Remainder Theorem:
x === 3 mod 5
x === 1 mod 7
x === 6 mod 8