Exercise 1042Logic, sets and proofs › Proof techniques › InductionL1Added 3 Nov 2026
Strong induction
#strong induction#prime factorization
Statement
Prove that every integer is a product of primes (existence of prime factorization) using strong induction.
Hint
Strong induction: assume the property for all , prove for .
Show solutionHide solution
Solution
Base case. is prime, so trivially a product of primes.
Inductive step. Suppose all integers have prime factorization. For :
- If is prime, done.
- If is composite, with . By strong induction, and are products of primes, so is too.
Conclusion. Every integer is a product of primes.