Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 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)
.