In the Zeckendorf representation an integer is expressed as a sum of Fibonacci numbers in which no two are consecutive. We show O(n log n) algorithm for multiplication of two n-digit numbers in Zeckendorf representation. For this purpose we investigate a relationship between the numeral system using Zeckendorf representations and the golden ratio numeral system. We also show O(n) algorithms for converting numbers between these systems.
@InProceedings{idziaszek:LIPIcs.FUN.2021.16, author = {Idziaszek, Tomasz}, title = {{Efficient Algorithm for Multiplication of Numbers in Zeckendorf Representation}}, booktitle = {10th International Conference on Fun with Algorithms (FUN 2021)}, pages = {16:1--16:9}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-95977-145-0}, ISSN = {1868-8969}, year = {2020}, volume = {157}, editor = {Farach-Colton, Martin and Prencipe, Giuseppe and Uehara, Ryuhei}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FUN.2021.16}, URN = {urn:nbn:de:0030-drops-127770}, doi = {10.4230/LIPIcs.FUN.2021.16}, annote = {Keywords: Fibonacci numbers, Zeckendorf representation, multiplication algorithm, Fast Fourier Transform, golden ratio numeral system, Lucas numbers} }
Feedback for Dagstuhl Publishing