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

Coins and strong induction

#induction#coins#Frobenius

Statement

Prove that every integer n≥12n\ge12 can be written as 4a+5b4a+5b with a,b≥0a,b\ge0.

Hint

Strong induction, starting with four consecutive integers 12,13,14,1512,13,14,15 as base cases.

Show solutionHide solution

Solution

Base cases.
- 12=4⋅3+5⋅012=4\cdot3+5\cdot0
- 13=4⋅2+5⋅113=4\cdot2+5\cdot1
- 14=4⋅1+5⋅214=4\cdot1+5\cdot2
- 15=4⋅0+5⋅315=4\cdot0+5\cdot3

Inductive step. If n≥16n\ge16 is representable, then n+4n+4 is too (add another 44). Starting from the four base cases, this covers all integers ≥12\ge12.

Conclusion. Every integer ≥12\ge12 is representable.