An O(k<sup>2</sup>log(n/k)) Algorithm for Computing Generalized Order-k Fibonacci Numbers with Linear Space (Q3816136)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 4087745
Language Label Description Also known as
default for all languages
No label defined
    English
    An O(k<sup>2</sup>log(n/k)) Algorithm for Computing Generalized Order-k Fibonacci Numbers with Linear Space
    scientific article; zbMATH DE number 4087745

      Statements

      An O(k<sup>2</sup>log(n/k)) Algorithm for Computing Generalized Order-k Fibonacci Numbers with Linear Space (English)
      0 references
      1988
      0 references
      generalized order-k Fibonacci series
      0 references
      Fibonacci numbers
      0 references
      merging of strings
      0 references
      polyphase sort of \((k+1)\) tape drives
      0 references
      algorithms
      0 references
      0 references
      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.
      0 references

      Identifiers