Draft for Information Only
Content
Pollard's p-1 Method
Pollard's p-1 MethodPollard's p-1 method is a prime factorization algorithm discovered by John Pollard in 1974. Limited by the algorithm, the Pollard's p-1 method is only work for integers with specific factors. However, since the composite number n is an unknown, sometimes, the algorithm may return a false response. Characteristic of Pollard's p-1 Method by Smooth NumberThe advantage of Pollard's p-1 method by smooth number is the checking of a group of primes with one computation. Every boundary B represents a group of numbers that can be expressed as the product of primes less than and equal to number B. For example, a composite number n less than 10000 should have a prime factor less than √n=100. And primes within 100 are
More primes can be included for checking by increasing the smoothness boundary B. For checking n and ak-1 is divisible by p, k is selected sufficiently large to ensure p-1 divides k, If the specific type prime factor is less than กิn, in the worst case, the smoothness boundary B can be equal to 41. However, since the composite number n is an unknown, sometimes, the algorithm may return a false response. For example: Pollard's P-1 Methed by Smooth Number Example 3For example: n=533=p*q=13*41; let B=5 imply
Therefore for B=5, k5 or (p5-1)m5 is equal to 15552000. Fermat's Little Theoremlet a=2, by Fermat's little theorem, let p be one of the prime factors of n, imply p divides ak-1. Greatest Common DivisorSince ak-1 is a very large number, before finding the greatest common divisor of n and ak-1, ak-1 can be raised to the high power modulo n. Imply Using squarings modulo
Imply The algorithm returns a fail response, because the number n divides ak-1 and n is the greatest common divisor of n and ak-1. Imply Therefore every prime factor of number n divides ak-1, imply Since k is a very large number, usually the algorithm fails because k is the multiple of the product of p-1 and q-1, imply One way is to select a smaller k so that k is not the common multiple of both p-1 and q-1. Let B=3, Imply
Therefore for B=3, k3 or (p3-1)m3 is equal to 124416. Fermat's Little Theoremlet a=2, by Fermat's little theorem, let p be one of the prime factors of n, imply p divides ak-1. Greatest Common DivisorSince ak-1 is a very large number, before finding the greatest common divisor of n and ak-1, ak-1 can be raised to the high power modulo n. Imply Using squarings modulo
Imply The greatest common divisor of n and ak-1 is Using Euclid's algorithm
Imply Integer 13, the greatest common divisor of n and ak-1 is also the prime divisor of n. And p-1 is 3-smooth.
Besides, for B=5
©sideway ID: 120500008 Last Updated: 5/16/2012 Revision: 0 Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 429 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019