logo

Prime Factorization Theorem 📂Number Theory

Prime Factorization Theorem

Theorem 1

A prime number pp that divides a natural number n:=d1d2dr n : = d_{1} d_{2} \cdots d_{r} into pnp \mid n must divide at least one of d1,d2,,drd_{1} , d_{2} , \cdots , d_{r}.

Description

pnp \mid n means that nn is a multiple of pp, that is, pp divides nn. At first glance, it might seem obvious, but it’s a property of prime numbers that definitely requires a proof. Let’s consider whether this theorem always holds true not only for prime numbers.

Proof

First, let’s assume that nn is the product of two natural numbers, which is n=abn = ab, and that pp does not divide both aa and bb.

Existence of Integer Solutions to Linear Equations in Two Variables: For two integers a,pa,p, ax+py=gcd(a,p)ax + py = \gcd (a,p) always has an integer solution.

Since pp does not divide aa, aa is not a multiple of pp, and because pp is a prime, it results in gcd(a,p)=1\gcd (a,p) = 1. Therefore, there exists (x,y)(x,y) satisfying ax+py=1 ax + py = 1 . Multiplying both sides by bb yields abx+pby=b abx + pby = b . Given that ab=nab = n is a multiple of pp and pbpb essentially has pp multiplied, it’s clearly a multiple of pp. Therefore, bb is a multiple of pp, which contradicts the assumption, and pp must divide one of aa or bb.

Returning to n=d1d2dr n = d_{1} d_{2} \cdots d_{r}, based on the above discussion, pp must divide one of d1d_{1} or (d2dr)(d_{2} \cdots d_{r}).

Even if d1d_{1} is not divided, applying the same discussion to d2drd_{2} \cdots d_{r} eventually leads to the conclusion that pp must divide one of d1,d2,,drd_{1} , d_{2} , \cdots , d_{r}.


  1. Silverman. (2012). A Friendly Introduction to Number Theory (4th Edition): p47. ↩︎