Finding the Inverse of a Number in a Finite Field

In summary, the conversation discusses finding an integer between 1 and m-1 that is equal to b^(-1) mod m, given that m = 1 mod b. The solution involves finding the inverse of b mod m, which exists since b and m are coprime. However, the speaker is having difficulty manipulating the equations and suggests that the solution may involve using the fact that m = 1 mod b.
  • #1
moo5003
207
0

Homework Statement



Suppose that m = 1 mod b. What integer between 1 and m-1 is equal to b^(-1) mod m?

The Attempt at a Solution



m = 1 mod b means that:

m = kb + 1 for some integer k

Let x be the inverse of b mod m, note: x exists since b and m must be coprime due to the previous statement.

xb = 1 mod m

thus: xb = gm + 1 for some integer g.

Now this is were I have little success. I can't seem to manipulate anything to my advantage and I'm unsure how to proceed.

I did find x = (m+1)/b but that is not always an integer. Thanks for any help you can provide.
 
Physics news on Phys.org
  • #2
Well, you don't seem to have made use of the fact that m = 1 mod b...
 
  • #3
I thought I used that fact when using the statement

m = kb + 1 for some integer k, unless I'm missing something else. Little tired, but I will come back to it tomorrow.
 

Similar threads

Replies
2
Views
1K
Replies
11
Views
2K
Replies
6
Views
2K
Replies
1
Views
2K
Replies
9
Views
3K
Replies
3
Views
1K
Back
Top