Do You Remember Inverses?

What is 5 1 ( m o d 17 ) ? 5 ^ {-1} \pmod{17} ?

Hint: Remember that inverses multiply to 1.

3 5 7 9

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Eli Ross Staff
Oct 11, 2015

We have 5 × 7 = 35 1 ( m o d 17 ) , 5 \times 7 = 35 \equiv 1 \pmod{17}, so 5 1 7 ( m o d 17 ) . 5 ^ {-1} \equiv 7 \pmod{17} .

Its not clear. can u elaborate it. thank you..

Raviteja Arakatla - 5 years, 6 months ago

Log in to reply

The multiplicative inverse of 5 modulo 17 is a number 5 1 { 0 , 1 , , 16 } 5^{-1} \in \{0,1,\ldots,16\} such that 5 5 1 5 \cdot 5^{-1} leaves a remainder of 1 when divided by 17.

You can check that 5 × 7 = 35 = 17 × 2 + 1 , 5\times 7 = 35 = 17\times 2 +1, so 7 is a multiplicative inverse of 5 modulo 17.

For more information, check out Modular Arithmetic - Multiplicative Inverses .

Eli Ross Staff - 5 years, 6 months ago

Log in to reply

thank you @Eli Ross

Raviteja Arakatla - 5 years, 6 months ago

If b and m are relatively prime, then Euler's totient theorem states that b ϕ ( m ) = 1 ( m o d m ) , w h e r e ϕ ( m ) b ^{\phi(m)}=1 (\mod m), where \ \phi(m) is the totient function.

it follows that b 1 = b ϕ ( m ) 1 ( m o d m ) b^{-1}=b^{\phi(m)-1} (\mod m) . (see wiki)

for any prime number ϕ ( m ) = m 1 \phi(m)=m-1

plug in the numbers b = 5 , 17 = m , ϕ ( m ) = 16 = > b 1 = 7 \ b=5, 17=m , \phi(m)=16 => b^{-1}=7

You can write 5^-1 as 1/5=(-16)/5=-3-1/5 t. I. 2/5=-3=14 then 1/5=7 (mod. 17)

Mario Sonnino - 2 years, 5 months ago
Tom Stein
May 4, 2019

g c d ( a , b ) = u a + v b gcd(a,b) = u*a + v*b

r q u v
17 / 1 0
5 / 0 1
2 3 1 -3
1 2 -2 7

so g c d ( 5 , 17 ) = 1 = u 17 + v 5 = 2 17 + 7 5 gcd(5,17) = 1 = u*17 + v*5 = -2*17 + 7*5

1 2 17 + 7 5 ( mod 17 ) 1 \equiv -2*17 + 7*5\ (\textrm{mod}\ 17) (factor of 17 will cancel out with mod 17)

1 7 5 ( mod 17 ) 1 \equiv 7*5\ (\textrm{mod}\ 17)

5 1 7 ( mod 17 ) 5^{-1} \equiv 7\ (\textrm{mod}\ 17)

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...