Re: Modular arithmetic question
From: Bart Goddard (goddardbe_at_netscape.net)
Date: 07/22/04
- Next message: Hanford Carr: "Re: Modular arithmetic question"
- Previous message: George W. Cherry: "Re: Is this number rational or irrational?"
- In reply to: Lance Lamboy: "Re: Modular arithmetic question"
- Next in thread: Hanford Carr: "Re: Modular arithmetic question"
- Messages sorted by: [ date ] [ thread ]
Date: 22 Jul 2004 17:39:26 GMT
Lance Lamboy wrote:
> It looks like there are methods that are more practical than mine.
> But a commonality is that you have to be able to factorize k. Am I
> correct in my understanding that there is no known efficient way to
> solve this problem when the factorization of k is unknown (and k is
> large)?
That's pretty much the state of the problem. Shanks has an
algorithm for computing square roots mod p (a prime) which
mimics Newton's Method, but the algorithm doesn't work for
complex modulus.
If you could quickly compute the square roots of -1 mod F_n
(the nth Fermat number) two of them are trivial,
+/-2^(2^(n-1)) and if F_n is composite, another pair
+/- b is not trivial.
Since b^2=-1 mod F_n, there's an elementary way to write
F_n as the sum of two squares. Since F_n is defined as the
sum of two _other_ squares, we can now apply Euler's factorization
method and factor F_n. We can apply the same trick to any of
the factors.
So finding a square-root of -1 algorithm for composite moduli
would be a big deal. If you can find two different (not by sign)
square roots of -1 modulo k, then you can factor k by Euler's
method.
Bart
- Next message: Hanford Carr: "Re: Modular arithmetic question"
- Previous message: George W. Cherry: "Re: Is this number rational or irrational?"
- In reply to: Lance Lamboy: "Re: Modular arithmetic question"
- Next in thread: Hanford Carr: "Re: Modular arithmetic question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|