 #jsDisabledContent { display:none; } My Account | Register | Help Flag as Inappropriate This article will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this article is inappropriate?          Excessive Violence          Sexual Content          Political / Social Email this Article Email Address:

# Prime factor

Article Id: WHEBN0000378924
Reproduction Date:

 Title: Prime factor Author: World Heritage Encyclopedia Language: English Subject: Collection: Prime Numbers Publisher: World Heritage Encyclopedia Publication Date:

### Prime factor This image demonstrates how to find the prime factorization of 864. A shorthand way of writing the resulting prime factors is 25 × 33

In number theory, the prime factors of a positive integer are the prime numbers that divide that integer exactly. The prime factorization of a positive integer is a list of the integer's prime factors, together with their multiplicities; the process of determining these factors is called integer factorization. The fundamental theorem of arithmetic says that every positive integer has a single unique prime factorization.

To shorten prime factorizations, factors are often expressed in powers (multiplicities). For example,

360 = 2 \times 2 \times 2 \times 3 \times 3 \times 5 = 2^3 \times 3^2 \times 5,

in which the factors 2, 3 and 5 have multiplicities of 3, 2 and 1, respectively.

For a prime factor p of n, the multiplicity of p is the largest exponent a for which pa divides n exactly.

For a positive integer n, the number of prime factors of n and the sum of the prime factors of n (not counting multiplicity) are examples of arithmetic functions of n that are additive but not completely additive.

## Contents

• Perfect squares 1
• Coprime integers 2
• Cryptographic applications 3
• Omega functions 4
• References 6

## Perfect squares

Perfect square numbers can be recognized by the fact that all of their prime factors have even multiplicities. For example, the number 144 (the square of 12) has the prime factors

144 = 2 \times 2 \times 2 \times 2 \times 3 \times 3 = 2^4 \times 3^2.

These can be rearranged to make the pattern more visible:

144 = 2 \times 2 \times 2 \times 2 \times 3 \times 3 = (2 \times 2 \times 3) \times (2 \times 2 \times 3) = (2 \times 2 \times 3)^2 = (12)^2.

Because every prime factor appears an even number of times, the original number can be expressed as the square of some smaller number. In the same way, perfect cube numbers will have prime factors whose multiplicities are multiples of three, and so on.

## Coprime integers

Positive integers with no prime factors in common are said to be coprime. Two integers a and b can also be defined as coprime if their greatest common divisor gcd(ab) = 1. Euclid's algorithm can be used to determine whether two integers are coprime without knowing their prime factors; the algorithm runs in a time that is polynomial in the number of digits involved.

The integer 1 is coprime to every positive integer, including itself. This is because it has no prime factors; it is the empty product. This implies that gcd(1, b) = 1 for any b ≥ 1.

## Cryptographic applications

Determining the prime factors of a number is an example of a problem frequently used to ensure cryptographic security in encryption systems; this problem is believed to require super-polynomial time in the number of digits — it is relatively easy to construct a problem that would take longer than the known age of the universe to solve on current computers using current algorithms.

## Omega functions

The function, ω(n) (omega), represents the number of distinct prime factors of n, while the function, Ω(n) (big omega), represents the total number of prime factors of n. If

n = \prod_{i=1}^{\omega(n)} p_i^{\alpha_i},

then

\Omega(n) = \sum_{i=1}^{\omega(n)} \alpha_i.

For example, 24 = 23 × 31, so ω(24) = 2 and Ω(24) = 3 + 1 = 4.

• ω(n) for n = 1, 2, 3, … is respectively 0, 1, 1, 1, 1, 2, 1, 1, 1, … (sequence A001221 in OEIS).
• Ω(n) for n = 1, 2, 3, … is respectively 0, 1, 1, 2, 1, 2, 1, 3, 2, … (sequence A001222 in OEIS).