Primefactor
Primefactor refers to the representation of a positive integer as a product of prime numbers, possibly repeated. This expression is called the prime factorization. The Fundamental Theorem of Arithmetic states that every integer greater than 1 has a unique prime factorization, up to the order of the factors. Consequently, any number can be written as a product p1^e1 p2^e2 ... pk^ek where the pi are distinct primes and the ei are positive integers representing their multiplicities. The number 1 is regarded as having an empty factorization, and 0 is not factorizable in the same sense.
An example is 360 = 2^3 × 3^2 × 5, showing how primes appear with specific exponents that
Computing prime factorization can be done by methods ranging from simple trial division by successive primes
See also: prime numbers, multiplicity, unique factorization, and the Fundamental Theorem of Arithmetic.