Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fibonacci series stackoverflow

from math import sqrt
def F(n):
    return ((1+sqrt(5))**n-(1-sqrt(5))**n)/(2**n*sqrt(5))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fibonacci #series #stackoverflow
ADD COMMENT
Topic
Name
5+5 =