ArticleslgStudy

mathematics

Zeckendorf's theorem

Zeckendorf's theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Zeckendorf's theorem rather than just read about it. In short: Zeckendorf's theorem, named after amateur mathematician Edouard Zeckendorf, is a result about the representation of integers as sums of Fibonacci numbers. It states that every positive integer can be represented uniquely as the sum of one or more distinct Fibonacci numbers in such a way that the sum does not include any two consecutive Fibonacci numbers.

Zeckendorf's theorem — main illustration
Zeckendorf's theorem — illustration

Key takeaways

  • Zeckendorf's theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Zeckendorf's theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zeckendorf's theorem from memory before moving on to harder problems.

Reference excerpt

Zeckendorf's theorem, named after amateur mathematician Edouard Zeckendorf, is a result about the representation of integers as sums of Fibonacci numbers. It states that every positive integer can be represented uniquely as the sum of one or more distinct Fibonacci numbers in such a way that the sum does not include any two consecutive Fibonacci numbers. More precisely, if N is any positive integer, there exist positive integers ci ≥ 2, with ci + 1 > ci + 1, such that

N=∑i=0kFci, where Fn is the nth Fibonacci number. Such a sum is called the Zeckendorf representation of N. The Fibonacci coding of N can be derived from its Zeckendorf representation. For example, the Zeckendorf representation of 64 is

64 = 55 + 8 + 1. There are other ways of representing 64 as the sum of Fibonacci numbers

64 = 55 + 5 + 3 + 1 64 = 34 + 21 + 8 + 1 64 = 34 + 21 + 5 + 3 + 1 64 = 34 + 13 + 8 + 5 + 3 + 1 but these are not Zeckendorf representations because 34 and 21 are consecutive Fibonacci numbers, as are 5 and 3. For any given positive integer, its Zeckendorf representation can be found by using a greedy algorithm, choosing the largest possible Fibonacci number at each stage. For instance, 11 = 8 + 3, whereas 13 = 13 (not 8 + 5), and 31 = 21 + 8 + 2.

Proof Zeckendorf's theorem has two parts:

Existence: every positive integer n has a Zeckendorf representation. Uniqueness: no positive integer n has two different Zeckendorf representations.

The existence part of Zeckendorf's theorem can be proven by induction. The base case n=1 has the Zeckendorf representation n=1=F2. Assuming that all k<n have a Zeckendorf representation, let j be such that Fj<n<Fj+1. Then, n−Fj<n. Therefore, there exists a Zeckendorf representation for n−Fj. The assumption Fj<n<Fj+1 also implies that Fj−1=Fj+1−Fj>n−Fj. Therefore, the largest Fibonacci number in the Zeckendorf representation of n−Fj must be strictly less than Fj−1. This implies that the Zeckendorf representation of n−Fj together with Fj is a valid Zeckendorf representation for n. To prove uniqueness, one can use the identity

∑i=0⌊n/2⌋−1Fn−2i=Fn+1−1 This can be proven by induction, or by a counting argument in which one realizes both sides of the identity are two ways of counting the number of ways of writing n using sums of 1 and at least one 2. To get a contradiction, assume that there are integers ci, for i=0,1,…,r, and di, for i=0,1,…,s, such that c0,d0≥2, ci+1>ci+1, di+1>di+1, and

∑i=0rFci=∑i=0sFdi The lengths r and s can be assumed to be the smallest possible. If cr=ds, that is if the largest terms Fcr and Fds of the two Zeckendorf representations are equal, then they can be deleted from both representations and obtain two new Zeckendorf representations that are equal and have fewer number of summands. This contradicts that r,s were the smallest possible. Therefore, cr≠ds. By swapping the names c and d, if necessary, one can assume that cr>ds. However, the sum

∑i=0sFdi≤∑i=0⌊ds/2⌋−1Fds−2i=Fds+1−1≤Fcr−1<Fcr Here the first inequality compares the sum with that of the Zeckendorf representation, which largest term is Fds, and uses the largest Fibonacci numbers allowed. That is, using every second Fibonacci number descending from Fds and stopping at F2 or F3. The equation is the identity above. This shows that, even if the sum ∑i=0sFds uses all the largest Fibonacci numbers allowed, its sum is still strictly less than the largest term Fcr in the sum ∑i=0rFci. Therefore, one cannot have two different Zeckendorf representations giving the same sum.

Fibonacci multiplication One can define the following operation a∘b on natural numbers a, b: given the Zeckendorf representations a=∑i=0kFci(ci≥2) and b=∑j=0lFdj(dj≥2) we define the Fibonacci product a∘b=∑i=0k∑j=0lFci+dj. For example, the Zeckendorf representation of 2 is F3, and the Zeckendorf representation of 4 is F4+F2 (F1 is disallowed from representations), so 2∘4=F3+4+F3+2=13+5=18. (The product is not always in Zeckendorf form. For example, 4∘4=(F4+F2)∘(F4+F2)=F4+4+2F4+2+F2+2=21+2⋅8+3=40=F9+F5+F2.) A simple rearrangement of sums shows that this is a commutative operation; however, Donald Knuth proved the surprising fact that this operation is also associative.

Representation with negafibonacci numbers The Fibonacci sequence can be extended to negative index n using the rearranged recurrence relation

Fn−2=Fn−Fn−1, which yields the sequence of "negafibonacci" numbers satisfying

F−n=(−1)n+1Fn. Any integer can be uniquely represented as a sum of negafibonacci numbers in which no two consecutive negafibonacci numbers are used. For example:

−11 = F−4 + F−6 = (−3) + (−8) 12 = F−2 + F−7 = (−1) + 13 24 = F−1 + F−4 + F−6 + F−9 = 1 + (−3) + (−8) + 34 −43 = F−2 + F−7 + F−10 = (−1) + 13 + (−55) 0 is represented by the empty sum. 0 = F−1 + F−2 , for example, so the uniqueness of the representation does depend on the condition that no two consecutive negafibonacci numbers are used. This gives a system of coding integers, similar to the representation of Zeckendorf's theorem. In the string representing the integer x, the nth digit is 1 if F−n appears in the sum that represents x; that digit is 0 otherwise. For example, 24 may be represented by the string 100101001, which has the digit 1 in places 9, 6, 4, and 1, because 24 = F−1 + F−4 + F−6 + F−9 . The integer x is represented by a string of odd length if and only if x > 0.

See also Complete sequence Fibonacci coding Fibonacci nim Ostrowski numeration

References

Zeckendorf, E. (1972). "Représentation des nombres naturels par une somme de nombres de Fibonacci ou de nombres de Lucas". Bull. Soc. R. Sci. Liège (in French). 41: 179–182. ISSN 0037-9565. Zbl 0252.10011.

External links Weisstein, Eric W. "Zeckendorf's Theorem". MathWorld. Weisstein, Eric W. "Zeckendorf Representation". MathWorld. Zeckendorf's theorem at cut-the-knot G.M. Phillips (2001) [1994], "Zeckendorf representation", Encyclopedia of Mathematics, EMS Press OEIS sequence A101330 (Knuth's Fibonacci (or circle) product) This article incorporates material from proof that the Zeckendorf representation of a positive integer is unique on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.

Illustrations

Zeckendorf's theorem: The first 89 natural numbers in Zeckendorf form. Each rectangle has a Fibonacci number .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}Fj as width (blue number in the center) and Fj−1 as height. The vertical bands have width 10.
The first 89 natural numbers in Zeckendorf form. Each rectangle has a Fibonacci number .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}Fj as width (blue number in the center) and Fj−1 as height. The vertical bands have width 10.

Worked examples

Example 1 — a first encounter with Zeckendorf's theorem

Start with the simplest possible case. Write down what Zeckendorf's theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Zeckendorf's theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Zeckendorf's theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Zeckendorf's theorem

In research
Zeckendorf's theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Zeckendorf's theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Zeckendorf's theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fibonacci numbers, Theorems in number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Zeckendorf's theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Zeckendorf's theorem” →

How to study Zeckendorf's theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zeckendorf's theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Zeckendorf's theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zeckendorf's theorem in simple terms?

Zeckendorf's theorem, named after amateur mathematician Edouard Zeckendorf, is a result about the representation of integers as sums of Fibonacci numbers. It states that every positive integer can be represented uniquely as the sum of one or more distinct Fibonacci numbers in such a way that the su…

Why does Zeckendorf's theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Zeckendorf's theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Zeckendorf's theorem.

Tags

  • Fibonacci numbers
  • Theorems in number theory

Keep exploring