Results 1 to 2 of 2

Thread: [RESOLVED] solving simultaneous linear congruences

  1. #1

    Thread Starter
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    Resolved [RESOLVED] solving simultaneous linear congruences

    I know how to do basic ones like this:
    x = 2 (mod 9)
    x = 3 (mod 7)

    but when there are coefficients infront of the xs I'm not sure how to go about solving it, for example something like:

    22x = 2 (mod 30)
    5x = 7 (mod 18)
    Last edited by TBeck; Dec 19th, 2006 at 07:42 PM. Reason: resolved

  2. #2

    Thread Starter
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    Re: solving simultaneous linear congruences

    I got it solved...
    5x = 7 (mod 18) can be written as 5x = 25 (mod 18), and since the greatest common divisor of 5 and 18 is one we can divide both sides by 5. Leaving us with x = 5 (mod 18), and so the equation x = 5 + 18y can be substituted into the other congruence and we can solve it from there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width