-1

been struggling this whole day with trying to figure out the multiplicative inverse of 17 modulo 31. I know by "manual" computation that the actual inverse is 11 but how do I prove this with Euler's theorem. We know that 31 is a prime, φ(n)=30, so i end up with 17^30=(cong)1 (mod 31). But how do proceed from this? Would be very thankful if someone could help me out since im stuck. Thanks in advance.

arif
  • 97
  • 1
  • 11

1 Answers1

0

Well, lets formalize it. Lets a = 17, p = 31, you want to find a^(-1). So we get by Euler's theorem a^(p - 1) = 1(mod p). Lets divide both parts by a: a^(p - 2) = a^(-1) (mod p)

Answer: 17^29 (mod 31)