Fibonacci beyond binary recursion

Dátum
2008-06-01
Folyóirat címe
Folyóirat ISSN
Kötet címe (évfolyam száma)
Kiadó
Absztrakt

The Fibonacci series is a classical algorithm taught in computer science, usually implemented in some programming language. It is hard to find a programming textbook which doesn't touch on Fibonacci, and it's most common use is in the illustration of binary recursion. There are also many ways of tailoring the basic algorithm in order to implement it. This paper discusses some novel algorithms, which help address some of the limitations of binary recursion, but also illustrate how differing algorithms can be pedagogically beneficial. We introduce a simple algorithm for accurately calculating any Fibonacci number.

Leírás
Kulcsszavak
Fibonacci, algorithms, binary recursion, accurate algorithms
Forrás
Teaching Mathematics and Computer Science, Vol. 6 No. 1 (2008) , 173-185