2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(
|
||||
f = { |n|
|
||||
var sqrt5 = sqrt(5);
|
||||
var p = (1 + sqrt5) / 2;
|
||||
var q = reciprocal(p);
|
||||
((p ** n) + (q ** n) / sqrt5 + 0.5).trunc
|
||||
};
|
||||
(0..20).collect(f)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue