# Fundamental Theorem of Arithmetic

The Fundamental Theorem of Arithmetic states that every positive integer $n$ can be written as a product $n = p_1 \cdot p_2 \cdot \cdots \cdot p_k$ where the $p_i$ are all prime numbers; moreover, this expression for $n$ (called its prime factorization) is unique, up to rearrangement of the factors.

Note that the property of uniqueness is not, in general, true for other sorts of factorizations. For example, most integers have many factorizations into 2 parts: $30 = 2 \cdot 15 = 3 \cdot 10 = 5 \cdot 6$. Thus, the Fundamental Theorem of Arithmetic tells us in some sense that "factorizations into prime numbers is deeper than factorization into two parts."

## Proof

The most common elementary proof of the theorem involves induction and use of Euclid's Lemma, which states that if $a$ and $b$ are natural numbers and $p$ is a prime number such that $p \mid ab$, then $p \mid a$ or $p \mid b$. This proof is not terribly interesting, but it does prove that every Euclidean domain has unique prime factorization.

The proof below uses group theory, specifically the Jordan-Hölder Theorem.

### Proof by Group Theory

Suppose that $n = p_1 \dotsm p_n = q_1 \dotsm q_m$, for primes $p_i$ and $q_i$. Then both of the composition series $$\mathbb{Z}/n\mathbb{Z}, \mathbb{Z}/(n/p_1)\mathbb{Z}, \mathbb{Z}/(n/p_1 p_2) \mathbb{Z}, \dotsc, \mathbb{Z}/\mathbb{Z},$$ $$\mathbb{Z}/n\mathbb{Z}, \mathbb{Z}/(n/q_1)\mathbb{Z}, \mathbb{Z}/(n/q_1 q_2) \mathbb{Z}, \dotsc, \mathbb{Z}/\mathbb{Z}$$ are Jordan-Hölder series, and their quotients are $$\mathbb{Z}/p_1\mathbb{Z}, \mathbb{Z}/p_2\mathbb{Z}, \dotsc, \mathbb{Z}/p_n \mathbb{Z}$$ and $$\mathbb{Z}/q_1\mathbb{Z}, \mathbb{Z}/q_2\mathbb{Z}, \dotsc, \mathbb{Z}/q_m \mathbb{Z} .$$ Then by the Jordan-Hölder Theorem, the primes $q_1, \dotsc, q_m$ are a rearrangement of the primes $p_1, \dotsc, p_n$. Therefore the prime factorization of $n$ is unique. $\blacksquare$