PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Math » Math_Fibonacci

Package to calculat and manipulate Fibonacci numbers

This package is unmaintained.

Download latest release 0.8 (archived versions might be outdated)

License: PHP

Description

The Fibonacci series is constructed using the formula:
F(n) = F(n - 1) + F (n - 2),
By convention F(0) = 0, and F(1) = 1.
An alternative formula that uses the Golden Ratio can also be used:
F(n) = (PHI^n - phi^n)/sqrt(5) [Lucas' formula],
where PHI = (1 + sqrt(5))/2 is the Golden Ratio, and
phi = (1 - sqrt(5))/2 is its reciprocal
Requires Math_Integer, and can be used with big integers if the GMP or
the BCMATH libraries are present.

Maintainers

No maintainers.

Dependencies

No dependencies.

Releases

Bugs

IDStatusTypeVersionDateSummary
#20436BogusBugUnknown2014-11-04fatal error
#20437BogusBugUnknown2014-11-04fatal error