|
|||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||
|
What is prime factorization?
What make prime number interesting is because it’s unique prime factors. Prime factor (or prime factorization) of a positive integer number is the prime product of that number. N = p1 x p2 x … x pn, where pi are prime numbers. For example the prime factor of
Play around with the interactive program of Prime Factorization below. What are the prime factors of 12345678901234567890? What is the largest exponent? This interaction program determines the unique prime factors of an integer (canonical decomposition) For simplest application of prime factor is to use it to ease division For example
Every integer has prime factorization. The nice property of prime factorization is its unique factors (after we sort the factors). This very nice property is also called fundamental theorem of arithmetic. Every positive integer can be written uniquely as a product of primes where the prime factors are written in ascending order of size. This unique format is also called canonical decomposition of a number. For example:
To obtain prime factors of a number larger than hundred, you may need to code it. In the next section, we will discuss algorithm to compute prime factorization Preferable reference for this tutorial is Teknomo, Kardi (2010) Prime Factor Tutorial. http:\\people.revoledu.com\kardi\ tutorial\BasicMath\Prime\ |
|||||||||||||
|
||||||||||||||
|
||||||||||||||