MHB Modulos with regards to Congruence

  • Thread starter Thread starter shamieh
  • Start date Start date
Click For Summary
The discussion focuses on solving the congruence equation 34x ≡ 77 (mod 89), specifically the reversing part of the problem. To solve this, one must find the multiplicative inverse of 34 modulo 89, which is calculated using the extended Euclidean algorithm, yielding 34^{-1} ≡ 55 (mod 89). This inverse allows for the equation to be manipulated into the form x ≡ 77 * 55 (mod 89). The final solution is determined to be x ≡ 52 (mod 89). Understanding the process of finding the inverse is crucial for solving similar congruences effectively.
shamieh
Messages
538
Reaction score
0
Can someone explain to me what exactly is taking place on Section 4.4 Problem 6b) in the reversing part of the problem? I understand the first part - that's easy, but I have no idea what is going on in the reversing part of the problem. Thanks in advance.

Here is a link instead of me typing tediously:
The problem reads:
Solve $34x ≡ 77 (mod 89)$
http://www.cs.ucsb.edu/~omer/cs40/hw4_solutions.pdf
 
Physics news on Phys.org
shamieh said:
Can someone explain to me what exactly is taking place on Section 4.4 Problem 6b) in the reversing part of the problem? I understand the first part - that's easy, but I have no idea what is going on in the reversing part of the problem. Thanks in advance.

Here is a link instead of me typing tediously:
The problem reads:
Solve $34x ≡ 77 (mod 89)$
http://www.cs.ucsb.edu/~omer/cs40/hw4_solutions.pdf

A congruence equation of the type...

$\displaystyle n\ x \equiv m\ \text{mod}\ p\ (1)$

... is solved as follows... indicating with $n^{-1}$ the multiplicative inverse of n mod p [if it exists...], You have...

$\displaystyle n\ n^{-1} x = x \equiv m\ n^{-1}\ \text{mod}\ p\ (2)$

You can find $n^{-1}\ \text{mod}\ p$ applying, for example, the extended Euclidean algorithm [see Modular multiplicative inverse - Wikipedia, the free encyclopedia ]... in Your case is n = 34, m = 77 and p = 89, so that is $34^{-1}\ \text{mod}\ 89 = 55$ and the solution is $\displaystyle x \equiv 77 \cdot 55\ \text{mod}\ 89 = 52$ ...

Kind regards

$\chi$ $\sigma$
 
Last edited:
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
437
  • · Replies 4 ·
Replies
4
Views
3K
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
4K
  • · Replies 7 ·
Replies
7
Views
7K