enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Integer factorization - Wikipedia

    en.wikipedia.org/wiki/Integer_factorization

    Continuing this process until every factor is prime is called prime factorization; the result is always unique up to the order of the factors by the prime factorization theorem. 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. Hensel's lemma - Wikipedia

    en.wikipedia.org/wiki/Hensel's_lemma

    Hensel's original lemma concerns the relation between polynomial factorization over the integers and over the integers modulo a prime number p and its powers. It can be straightforwardly extended to the case where the integers are replaced by any commutative ring, and p is replaced by any maximal ideal (indeed, the maximal ideals of have the form , where p is a prime number).

  4. Trial division - Wikipedia

    en.wikipedia.org/wiki/Trial_division

    A definite bound on the prime factors is possible. Suppose P i is the i 'th prime, so that P 1 = 2, P 2 = 3, P 3 = 5, etc. Then the last prime number worth testing as a possible factor of n is P i where P 2 i + 1 > n; equality here would mean that P i + 1 is a factor. Thus, testing with 2, 3, and 5 suffices up to n = 48 not just 25 because the ...

  5. Pollard's rho algorithm - Wikipedia

    en.wikipedia.org/wiki/Pollard's_rho_algorithm

    Pollard's rho algorithm is an algorithm for integer factorization. It was invented by John Pollard in 1975. [1] It uses only a small amount of space, and its expected running time is proportional to the square root of the smallest prime factor of the composite number being factorized.

  6. Shor's algorithm - Wikipedia

    en.wikipedia.org/wiki/Shor's_algorithm

    If those easy cases do not produce a nontrivial factor of , the algorithm proceeds to handle the remaining case. We pick a random integer 2 ≤ a < N {\displaystyle 2\leq a<N} . A possible nontrivial divisor of N {\displaystyle N} can be found by computing gcd ( a , N ) {\displaystyle \gcd(a,N)} , which can be done classically and efficiently ...

  7. General number field sieve - Wikipedia

    en.wikipedia.org/wiki/General_number_field_sieve

    An optimal strategy for choosing these polynomials is not known; one simple method is to pick a degree d for a polynomial, consider the expansion of n in base m (allowing digits between −m and m) for a number of different m of order n 1/d, and pick f(x) as the polynomial with the smallest coefficients and g(x) as x − m.

  8. Fermat's factorization method - Wikipedia

    en.wikipedia.org/wiki/Fermat's_factorization_method

    Fermat's factorization method, named after Pierre de Fermat, is based on the representation of an odd integer as the difference of two squares: N = a 2 − b 2 . {\displaystyle N=a^{2}-b^{2}.} That difference is algebraically factorable as ( a + b ) ( a − b ) {\displaystyle (a+b)(a-b)} ; if neither factor equals one, it is a proper ...

  9. Pollard's p − 1 algorithm - Wikipedia

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

    This terminology is considered obsolete by the cryptography industry: the ECM factorization method is more efficient than Pollard's algorithm and finds safe prime factors just as quickly as it finds non-safe prime factors of similar size, thus the size of p is the key security parameter, not the smoothness of p-1. [1]