When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Integer factorization - Wikipedia

    en.wikipedia.org/wiki/Integer_factorization

    To factorize a small integer n using mental or pen-and-paper arithmetic, the simplest method is trial division: checking if the number is divisible by prime numbers 2, 3, 5, and so on, up to the square root of n. For larger numbers, especially when using a computer, various more sophisticated factorization algorithms are more efficient.

  3. Dixon's factorization method - Wikipedia

    en.wikipedia.org/wiki/Dixon's_factorization_method

    Dixon's method is based on finding a congruence of squares modulo the integer N which is intended to factor. Fermat's factorization method finds such a congruence by selecting random or pseudo-random x values and hoping that the integer x 2 mod N is a perfect square (in the integers):

  4. Pollard's p − 1 algorithm - Wikipedia

    en.wikipedia.org/wiki/Pollard%27s_p_%E2%88%92_1...

    If a number x is congruent to 1 modulo a factor of n, then the gcd(x − 1, n) will be divisible by that factor. The idea is to make the exponent a large multiple of p − 1 by making it a number with very many prime factors; generally, we take the product of all prime powers less than some limit B .

  5. Integer factorization records - Wikipedia

    en.wikipedia.org/wiki/Integer_factorization_records

    Integer factorization is the process of determining which prime numbers divide a given positive integer.Doing this quickly has applications in cryptography.The difficulty depends on both the size and form of the number and its prime factors; it is currently very difficult to factorize large semiprimes (and, indeed, most numbers that have no small factors).

  6. Trial division - Wikipedia

    en.wikipedia.org/wiki/Trial_division

    The essential idea behind trial division tests to see if an integer n, the integer to be factored, can be divided by each number in turn that is less than or equal to the square root of n. For example, to find the prime factors of n = 70 , one can try to divide 70 by successive primes: first, 70 / 2 = 35 ; next, neither 2 nor 3 evenly divides ...

  7. Pollard's rho algorithm - Wikipedia

    en.wikipedia.org/wiki/Pollard's_rho_algorithm

    If the pseudorandom number = occurring in the Pollard ρ algorithm were an actual random number, it would follow that success would be achieved half the time, by the birthday paradox in () (/) iterations. It is believed that the same analysis applies as well to the actual rho algorithm, but this is a heuristic claim, and rigorous analysis of ...

  8. Quadratic sieve - Wikipedia

    en.wikipedia.org/wiki/Quadratic_sieve

    To factorize the integer n, Fermat's method entails a search for a single number a, n 1/2 < a < n−1, such that the remainder of a 2 divided by n is a square. But these a are hard to find. The quadratic sieve consists of computing the remainder of a 2 /n for several a, then finding a subset of these whose product is a square. This will yield a ...

  9. Shor's algorithm - Wikipedia

    en.wikipedia.org/wiki/Shor's_algorithm

    The problem that we are trying to solve is: given an odd composite number, find its integer factors. To achieve this, Shor's algorithm consists of two parts: A classical reduction of the factoring problem to the problem of order-finding.