Gutenberg.Fibonaccis

Synopsis

Documentation

Arguments

 :: Integer The number to test -> Bool Returns whether or not the number is a Fibonacci

The isFib function returns whether or not the given number - |is a Fibonacci number.

Arguments

 :: Int The index of the Fibonacci number -> Integer Returns the requested Fibonacci number

The nthFib function returns the nth Fibonacci number.

Arguments

 :: Integer The maximum Fibonacci number to return -> [Integer] Returns all Fibonaccis below the threshold

The fibsUpTo function returns the list of Fibonacci numbers - |that are less than or equal to the given number.

first1001Fibs is a list of the first 1001 Fibonacci numbers. - |This list was retrieved from the Gutenberg Project - |(http:www.ibiblio.orgpubdocsbooksgutenbergetext01fbncc10.txt)

The fibsLen function returns the number of Fibonacci numbers - |in the first1001Fibs list.

The lastFib function returns the last Fibonacci number in the list - |of Fibonacci numbers, first1001Fibs.