Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Dixon's factorization method
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Method== Suppose the composite number ''N'' is being factored. Bound ''B'' is chosen, and the ''[[factor base]]'' is identified (which is called ''P''), the set of all primes less than or equal to ''B''. Next, positive integers ''z'' are sought such that ''z''<sup>2</sup> mod ''N'' is ''B''-smooth. Therefore we can write, for suitable exponents ''a<sub>i</sub>'', : <math>z^2 \text{ mod } N = \prod_{p_i\in P} p_i^{a_i}</math> When enough of these relations have been generated (it is generally sufficient that the number of relations be a few more than the size of ''P''), the methods of [[linear algebra]], such as [[Gaussian elimination]], can be used to multiply together these various relations in such a way that the exponents of the primes on the right-hand side are all even: : <math>{z_1^2 z_2^2 \cdots z_k^2 \equiv \prod_{p_i\in P} p_i^{a_{i,1}+a_{i,2}+\cdots+a_{i,k}}\ \pmod{N}\quad (\text{where } a_{i,1}+a_{i,2}+\cdots+a_{i,k} \equiv 0\pmod{2}) }</math> This yields a [[congruence of squares]] of the form {{nowrap|''a''<sup>2</sup> β‘ ''b''<sup>2</sup> (mod ''N''),}} which can be turned into a factorization of ''N'', {{nowrap|''N'' {{=}} [[Greatest common divisor|gcd]](''a'' + ''b'', ''N'') Γ (''N''/gcd(''a'' + ''b'', ''N'')).}} This factorization might turn out to be trivial (i.e. {{nowrap|''N'' {{=}} ''N'' Γ 1}}), which can only happen if {{nowrap|''a'' β‘ Β±''b'' (mod ''N''),}} in which case another try must be made with a different combination of relations; but if a nontrivial pair of factors of ''N'' is reached, the algorithm terminates.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)