On algorithms to calculate integer complexity
Abstract
We consider a problem first proposed by Mahler and Popken in 1953 and later developed by Coppersmith, Erd\H{o}s, Guy, Isbell, Selfridge, and others. Let be the complexity of , where is defined as the least number of 's needed to represent in conjunction with an arbitrary number of 's, 's, and parentheses. Several algorithms have been developed to calculate the complexity of all integers up to . Currently, the fastest known algorithm runs in time and was given by J. Arias de Reyna and J. van de Lune in 2014. This algorithm makes use of a recursive definition given by Guy and iterates through products, , for , and sums, , for up to some function of . The rate-limiting factor is iterating through the sums. We discuss potential improvements to this algorithm via a method that provides a strong uniform bound on the number of summands that must be calculated for almost all . We also develop code to run J. Arias de Reyna and J. van de Lune's analysis in higher bases and thus reduce their runtime of to . All of our code can be found online at: https://github.com/kcordwel/Integer-Complexity.
Keywords
Cite
@article{arxiv.1706.08424,
title = {On algorithms to calculate integer complexity},
author = {Katherine Cordwell and Alyssa Epstein and Anand Hemmady and Steven J. Miller and Eyvindur A. Palsson and Aaditya Sharma and Stefan Steinerberger and Yen Nhi Truong Vu},
journal= {arXiv preprint arXiv:1706.08424},
year = {2018}
}
Comments
8 pages; more details were added for the complexity analysis and a link added to the code on GitHub; minor typos corrected