Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Mathematical Functions  /
Fibonacci

  • Fibonacci[ n ] gives the Fibonacci number .
  • Fibonacci[ n , x ] gives the Fibonacci polynomial .
  • Integer mathematical function (see Section A.3.10).
  • The satisfy the recurrence relation with .
  • For any complex value of the are given by the general formula , where is the golden ratio.
  • The Fibonacci polynomial is the coefficient of in the expansion of .
  • See the Mathematica book: Section 3.2.5.
  • See also Implementation NotesA.9.44.9MainBookLinkOldButtonDataA.9.44.9.
  • See also: GoldenRatio.

    Further Examples

    Here is a list of the first 20 Fibonacci numbers.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.