Fast Computation of Fibonacci Numbers and Their Sums

From MaRDI portal





Let \(f_ n\), \(n\geq -1\), be the Fibonacci sequence \((f_{-1}=0\), \(f_ 0=1)\). Using a novel matrix method the author obtains the relations: \(f_{2n}=f^ 2_ n+f^ 2_{n-1}\) and \(f_{2n-1}=2f_ nf_{n-1}- f^ 2_{n-1}\); by means of these he constructs an algorithm (which runs faster than \textit{J. Shortt}'s one [Inf. Process. Lett. 7, 299-303 (1978; Zbl 0385.65057)] both at small n and large n) for computing the Fibonacci numbers and their sums. The running time of this is (3 log n) multiplicative and n additive operations for large and small n respectively. His matrix method can also be extended to the s-additive sequence: \(g_{-s+1}=g_{-s+2}=...=g_{-1}=0\), \(g_ 0=1\), and \(g_ n=\sum^{s}_{i=1}g_{n-i}\) for \(n>0\).











This page was built for publication: Fast Computation of Fibonacci Numbers and Their Sums

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3689237)