2000 character limit reached
Golden and Alternating, fast simple O(lg n) algorithms for Fibonacci
Published 31 Oct 2010 in cs.DM, cs.DS, and math.CO | (1011.0148v1)
Abstract: Two very fast and simple O(lg n) algorithms for individual Fibonacci numbers are given and compared to competing algorithms. A simple O(lg n) recursion is derived that can also be applied to Lucas. A formula is given to estimate the largest n, where F_n does not overflow the implementation's data type. The danger of timing runs on input that is too large for the computer representation leads to false research results.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.