Integer Factoring

Given an nn-bit integer NN, find a non-trivial factorization N=pqN=pq (where p,q>1p, q>1 are integers) or return that NN is prime. For "second category" algorithms, the running time depends solely on the size of the integer to be factored

Parameters

  • nn: number of bits in the integer

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 5 of 5 algorithms

See more
Shanks's square forms factorization (SQUFOF)2007O(2n/4)O(2^{n/4})O(n)O(n)
General number field sieve1996O(exp((1+o(1))(64n/9)1/3(logn)2/3)O(\exp((1+o(1))(64n/9)^{1/3}(log n)^{2/3}), under assumption about numbers in a sequence behaving randomly in a given rangeO(Γn4/3logn)O(\Gamma n^{4/3} \log n)
Dixon's algorithm1981O(e22nlogn)O(e^{2 \sqrt{2} \sqrt{n\log n}})O(n+(B/logB)2)O(n+(B/\log B)^2)
Quadratic sieve1981O(e(1+o(1))nlogn)O(e^{\sqrt{(1+o(1))n \log n}}), under assumption about numbers in a sequence behaving randomly in a given rangeO(n+(B/logB)2)O(n+(B/\log B)^2)
Continued fraction factorization (CFRAC)1931O(e2nlogn)O(e^{\sqrt{2n\log n}})O(n+(B/logB)2)O(n+(B/\log B)^2)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Displaying 2 of 2 other relevant algorithms