Scientific Calculator

(public) silentmatt/fibonacci

By silentmatt Matthew Crumley

Calculate the nth Fibonacci Number

Tagged: sequences

fibonacci = function(n) { exact((c:phi^n - psi^n) / sqrt(5)) where psi = 1 - c:phi }

spam? | offensive?

0 Comments

Sign in to leave a comment