Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

7^-1 (mod 26)

sam (.sam.):

mod?

OpenStudy (anonymous):

modulo. @George, can you show me the guess and check one?

OpenStudy (kinggeorge):

\[7\cdot1\equiv7\neq1\pmod{26}\]\[7\cdot2\equiv14\neq1\pmod{26}\]\[7\cdot3\equiv21\neq1\pmod{26}\]\[7\cdot4\equiv2\neq1\pmod{26}\]\[7\cdot5\equiv9\neq1\pmod{26}\]\[\vdots\]Until you get \[7x\equiv1\pmod{26}\]

OpenStudy (anonymous):

so basically find ax that equals 1mod26?

jimthompson5910 (jim_thompson5910):

7*11 = 77 = -1 (mod 26) So 7*(-11) = -77 = 1 (mod 26) Because -11 = 15 (mod 26), this means 7*15 = 1 (mod 26)

OpenStudy (kinggeorge):

Correct. You could also find \(\phi(26)=12\) so by Euler's theorem you know\[7^{11}\equiv1\pmod{26}\]Then you can calculate this by computer or hand.

OpenStudy (kinggeorge):

Typo there. You know \[7^{12}\equiv1\pmod{26}\]so\[7\cdot7^{11}\equiv1\pmod{26}\]which implies\[7^{11}\equiv7^{-1}\pmod{26}\]

OpenStudy (kinggeorge):

However, this relies on knowing \(\phi(26)\). In practice, the only fast way to compute inverses modulo \(n\) where \(n\) is a composite number is by using the Extended Euclidean Algorithm.

OpenStudy (anonymous):

I FINALLY GET IT. THANKS

OpenStudy (anonymous):

3^-1 (mod 26) 9x= 1 (mod 26) 3*17= -1 (mod 26) 3*-17= 1 (mod 26) -17= 9 (mod 26) Is that right?

jimthompson5910 (jim_thompson5910):

yes, 3^-1 = 9 (mod 26)

OpenStudy (kinggeorge):

It's a little too much on the guess and check side for me, but it's correct.

OpenStudy (kinggeorge):

Just for kicks, if you want an example where that method is rather unfeasible, try finding\[8332745929^{-1} \pmod{16534528044}\]

OpenStudy (anonymous):

Gee thanks >.< Can't you just make a program on Python?

OpenStudy (kinggeorge):

You definitely could. And the fastest programs (to my knowledge) are a slightly streamlined version of the extended euclidean algorithm.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!