Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Euclidean algorithm

  1. May 5, 2008 #1
    Hi
    I am currently studying Information Theory. Could I please have anyone's ideas on the following question:

    Using the Euclidean algorithm, show that coprime numbers always have multiplicative inverses modulo each other.

    I tried the following proof, using Fermat's little theorem, let me know what you think.

    Let
    {a,2a,...,(n-1)a}={1,2,...,(n-1)}(mod n)
    Then
    (n-1)! a^(n-1)=(n-1)! (mod n)
    and
    a^(n-1)=1 (mod n)

    any improvements/suggestions are very welcome! Thank you!
     
  2. jcsd
  3. May 5, 2008 #2

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Well, I see these problems:

    First, you introduce new variables without explanation: a and n. If they are supposed to be an arbitrary pair of coprime numbers, then you should say something like that.

    How do you know that? The most obvious proof requires you to already know that a is invertible mod n.

    You cannot divide by (n-1)! unless you already know it's invertible. And you cannot prove it's invertible -- for most n it's actually equivalent to zero mod n

    And finally, you've made no remark about why this should have anything to do with the theorem you were trying to prove.


    But the most serious problem is that you aren't even doing the problem you were asked to do.
     
    Last edited: May 5, 2008
  4. May 5, 2008 #3
    ok then, that proves that I am completely lost! how would you prove this theorem?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Euclidean algorithm
  1. EM algorithm (Replies: 0)

  2. Randomized Algorithms (Replies: 2)

Loading...