PHP Classes

Fibonacci: Generate Fibonacci sequence numbers

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 388 All time: 6,669 This week: 455Up
Version License PHP version Categories
fibonacci 1.0GNU General Publi...5.2.6PHP 5, Math


This class can be used to generate Fibonacci sequence numbers.

It provides an iterator interface to generate the following Fibonnaci number when retrieving the next iterator element.

Innovation Award
PHP Programming Innovation award nominee
March 2010
Number 10
Fibonacci numbers are a sequence of numbers generated recursively.

Fibonacci numbers can be used for a number of applications, including to find the greatest common divisor of two integer numbers.

This class provides a PHP solution to generate Fibonacci numbers sequence.

Manuel Lemos
Picture of Artur Barseghyan
Name: Artur Barseghyan <contact>
Classes: 4 packages by
Country: The Netherlands The Netherlands
Age: 45
All time rank: 204156 in The Netherlands The Netherlands
Week rank: 225 Up5 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example_fibonacci.php Example Example file
Accessible without login Plain text file Fibonacci.class.php Class Fibonacci class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,669
This week:455Up