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

Every positive integer is a sum of non-consecutive Fibonacci numbers

#induction#Fibonacci#Zeckendorf

Statement

Prove Zeckendorf's theorem: every positive integer can be expressed uniquely as a sum of non-consecutive Fibonacci numbers (with F2=1,F3=2,…F_2=1,F_3=2,\ldots).

Hint

Use strong induction: for nn, pick the largest Fk≤nF_k\le n and apply induction to n−Fkn-F_k.

Show solutionHide solution

Solution

Existence. Strong induction on nn. Choose FkF_k the largest Fibonacci number ≤n\le n. Then n−Fk<Fk−1n-F_k<F_{k-1} (otherwise Fk+Fk−1=Fk+1≤nF_k+F_{k-1}=F_{k+1}\le n, contradicting maximality of FkF_k). By induction, n−Fkn-F_k is a sum of non-consecutive Fibonacci numbers with all indices <k−1<k-1. Adding FkF_k gives a valid representation.

Uniqueness. Suppose two representations differ; use the recurrence Fk>Fk−1+⋯+F1F_k>F_{k-1}+\cdots+F_1 for appropriate cases to derive a contradiction.

Conclusion. Zeckendorf representations exist and are unique.