An O(k2log(n/k)) Algorithm for Computing Generalized Order-k Fibonacci Numbers with Linear Space
The generalized order-k Fibonacci series is defined recursively by \(f_{n,m}=\sum^{k}_{i=1}f_{n-i,m}\) for \(n>0\), \(1\leq m\leq k\) with initial conditions: \(f_{n,m}=1\), if \(m=1-n\), and \(f_{n,m}=0\) otherwise, when \(-k+1\leq n\leq 0\), and \(f_{1,m}=1\), for \(1\leq m\leq k\). Thus for \(k=2\), \(f_{n,1}=F_ n\), the traditional Fibonacci numbers. The author is interested in improving the efficiency of generating these numbers, which have an application in efficient merging of strings in the polyphase sort of \((k+1)\) tape drives. He defines a \(k\times k\) matrix \(M^ n\) whose ith row is \([f_{n-i+1},1,...,f_{n-i+1}]\) and uses the result from an earlier paper that \(M^ n\) is the nth power of \(M^ 1\). Now using efficient procedures for taking matrix powers, and recording only one row of the matrix, he provides algorithms in PASCAL to calculate these numbers in \(O(k^ 2 \log (n/k))\) time units, using O(k) space units. The quality of the paper is significantly hampered by poor typesetting and proofreading, with numerous missing, broken or inverted characters, and spelling mistakes.
- A Fast Algorithm for Computing Order-K Fibonacci Numbers
- A Formal Derivation of an 0(log n) Algorithm for Computing Fibonacci Numbers
- A presentation of the Fibonacci algorithm
- An \(O(\log n)\) algorithm for computing the \(n\)th element of the solution of a difference equation
- An interative program to calculate Fibonacci numbers in O(log n) arithmetic operations
- An O(log n) algorithm for computing general order-k Fibonacci numbers
- Computing Fibonacci numbers (and similarly defined functions) in log time
- Derivation of an O(k^ 2 n) algorithm for computing order-k Fibonacci numbers from the O(k^ 3 n) matrix multiplication method
- Fast Computation of Fibonacci Numbers and Their Sums
This page was built for publication: An O(k2log(n/k)) Algorithm for Computing Generalized Order-k Fibonacci Numbers with Linear Space
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3816136)