Re: inverse mod n
- From: rob@xxxxxxxxxxxxxx (Rob Johnson)
- Date: Wed, 29 Mar 2006 16:30:58 GMT
In article <1143649185.676109.291850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"perltcl@xxxxxxxxx" <perltcl@xxxxxxxxx> wrote:
given x,n
x,n:integers
n is not prime, maybe large
is it a hard problem to find x*y=1 mod n
i.e. the inverse of x mod n
It is quite easy unless x and n have a common factor greater than 1.
To check whether there is a common factor and solve for the inverse,
take a look at <http://www.whim.org/nebula/math/euclid-wallis.html>.
Rob Johnson <rob@xxxxxxxxxxxxxx>
take out the trash before replying
to view any ASCII art, display article in a monospaced font
.
- References:
- inverse mod n
- From: perltcl@xxxxxxxxx
- inverse mod n
- Prev by Date: Re: Folded Belt
- Next by Date: Re: Logarithm of transfinite numbers
- Previous by thread: inverse mod n
- Next by thread: Re: inverse mod n
- Index(es):
Relevant Pages
|