discrete structures



(a) Let n and a be positive integers with gcd(a, n)=1. Prove that the equation a x≡1(mod n) has a solution.
(b) Solve 271 x ≡ 1 (mod 1003)
(c) Solve 7008x ≡ 1(mod 7919)

any ideas or thoughts??
.