Unique prime factorization says that every integer $n>1$ can be written as a product of primes. The canonical prime decomposition is the ordered and exponentiated version of...
Standard Form of an Integer
Unique prime factorization says that every integer can be written as a product of primes. The canonical prime decomposition is the ordered and exponentiated version of this factorization.
For every integer , there exist distinct primes
and positive integers
such that
This expression is canonical because the primes are written in increasing order and equal primes are grouped into powers.
For example,
No other ordered list of primes and exponents gives the same integer.
Exponents as Arithmetic Data
The exponent records how many times the prime occurs in the factorization of .
For example,
This means
The prime appears three times, the prime appears twice, and the prime appears once.
Thus canonical decomposition converts multiplication into a finite record of prime exponents.
Prime Valuations
For a prime , the exponent of in the prime factorization of is called the -adic valuation of . It is denoted by
Thus
if but
For example, since
we have
If a prime does not divide , then
Reconstructing the Integer
The collection of all valuations determines the integer completely:
Although the product is written over all primes, only finitely many exponents are nonzero. Therefore the product is finite in substance.
For example,
means
and
for every other prime .
The canonical decomposition may therefore be viewed as a coordinate system for positive integers, with one coordinate for each prime.
Multiplication in Canonical Form
Canonical decomposition makes multiplication simple.
If
and
then
Multiplication of integers becomes addition of prime exponents.
For example,
and
Therefore
The exponent of each prime in the product is the sum of its exponents in the factors.
Divisibility in Canonical Form
Divisibility also becomes transparent.
If
and
then
if and only if
for every prime .
For example,
and
Since every exponent in is less than or equal to the corresponding exponent in , we have
But
does not divide , because appears in but not in .
GCD and LCM
The canonical decomposition gives direct formulas for greatest common divisors and least common multiples.
If
and
then
and
For example,
and
Hence
and
The gcd uses the smaller exponent of each prime. The lcm uses the larger exponent.
Powers and Perfect Powers
Canonical decomposition also characterizes perfect powers.
An integer is a perfect square if
for some integer . In prime decomposition, this happens exactly when every exponent is even.
For example,
is a square because all exponents are even:
More generally, is a perfect -th power if every exponent in its canonical decomposition is divisible by .
Role in Number Theory
Canonical prime decomposition is one of the main languages of elementary number theory. It converts multiplicative questions about integers into questions about exponents.
Divisibility becomes coordinatewise comparison. Multiplication becomes coordinatewise addition. Greatest common divisors and least common multiples become coordinatewise minimum and maximum.
This viewpoint is simple but powerful. It prepares the way for arithmetic functions, valuations, local methods, and the broader idea that global arithmetic structure can be studied prime by prime.