September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,4 @@
fibo(n)=
s5 = #.sqrt(5)
<= (((1+s5)/2)^n-((1-s5)/2)^n)/s5
.

View file

@ -0,0 +1,11 @@
fibo(n)=
? n<2, <= n
f2 = 0
f1 = 1
> i, 2..n
f = f1+f2
f2 = f1
f1 = f
<
<= f
.

View file

@ -0,0 +1,4 @@
fibo(n)=
? n<2, <= n
<= fibo(n-1)+fibo(n-2)
.