计算机科学 > 离散数学
[提交于 2010年10月31日]
标题:Golden and Alternating, fast simple O(lg n) algorithms for Fibonacci
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:LeRoy Johnson Professor[v1] 2010年10月31日 星期日 12:15:27 UTC