Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fibonacci sequence!

Name: Anonymous 2007-09-25 10:58 ID:ScErbbWX

I'll start:

0

Name: Anonymous 2007-09-26 20:41 ID:Heaven

function fib(n){
 var p=Math.sqrt(5);
 return (Math.pow(1+p,n)-Math.pow(1-p,n))/Math.pow(2,n)*p;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List