Can X be its own inverse in a residue system?

  • Thread starter Thread starter mets19
  • Start date Start date
  • Tags Tags
    Primes Relative
mets19
Messages
1
Reaction score
0
Hi all,
Supppose that n > 0 and 0 < x < n are integers and x is relatively prime to n, show that there is an integer y with the property:
x*y is congruent to 1 (mod n)

I have attempted the following, I am not sure if I am on the right track:
1 = xy + qn which implies 1 - xy = qn
n|(1-xy) which implies q(1-xy) = n
so if I divide q in the first equation i get \frac{1-xy}{q}=n which is equal to q(1-xy)=n.

Thanks in advance
Maunil
 
Last edited:
Physics news on Phys.org
mets19 said:
Hi all,
Supppose that n > 0 and 0 < x < n are integers and x is relatively prime to n, show that there is an integer y with the property:
x*y is congruent to 1 (mod n)

I have attempted the following, I am not sure if I am on the right track:
1 = xy + qn which implies 1 - xy = qn

There you go!
1-xy=qn implies 1-xy=0 (mod n), hence 1=xy (mod n).

mets19 said:
n|(1-xy) which implies q(1-xy) = n
so if I divide q in the first equation i get \frac{1-xy}{q}=n which is equal to q(1-xy)=n.

Thanks in advance
Maunil

No, n|(1-xy) implies (1-xy)=kn for some k, which you already knew.
 
Another way to look at this is to remember that the elements of a residue system are always less than N.

If we look at the powers of X they must come to repeat and X^S \equiv X^T Mod N Since X is relatively prime to N we can cancel out powers of X.

This gives X^{S-T} \equiv 1 Mod N Assuming S is the larger value, we can not have S-T = 1 unless X is its own inverse.

Thus S-T = 2 or more, and X^{S-T-1} \equiv X^{-1} Mod N.
 
Last edited:
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Back
Top