Maths WorkshopMaths problems with full solutions
Exercise 1042Logic, sets and proofs › Proof techniques › InductionL1Added 3 Nov 2026

Strong induction

#strong induction#prime factorization

Statement

Prove that every integer n≥2n\ge2 is a product of primes (existence of prime factorization) using strong induction.

Hint

Strong induction: assume the property for all k<nk<n, prove for nn.

Show solutionHide solution

Solution

Base case. n=2n=2 is prime, so trivially a product of primes.

Inductive step. Suppose all integers 2≤k<n2\le k<n have prime factorization. For nn:
- If nn is prime, done.
- If nn is composite, n=abn=ab with 2≤a,b<n2\le a,b<n. By strong induction, aa and bb are products of primes, so n=abn=ab is too.

Conclusion. Every integer ≥2\ge2 is a product of primes.