Representing Numbers Using Fibonacci Variants
This chapter introduces the Zeckendorf representation of a Fibonacci sequence, a form of a natural number which can be easily found using a greedy algorithm: given a number, subtract the largest Fibonacci number less than or equal to it, and repeat until the entire number is used up. This chapter first compares the efficiency of representing numbers using Zeckendorf form versus traditional binary with a fixed number of digits and shows when Zeckendorf form is to be preferred. It also shows what happens when variants of Zeckendorf form are used. Not only can natural numbers as be presented sums of Fibonacci numbers, but arithmetic can also be done with them directly in Zeckendorf form. The chapter includes a survey of past approaches to Zeckendorf representation arithmetic, as well as some improvements.