September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,3 +1,3 @@
|
|||
func c(n) is cached {
|
||||
n == 0 ? 1 : (c(n-1) * (4 * n - 2) / (n + 1));
|
||||
n == 0 ? 1 : (c(n-1) * (4 * n - 2) / (n + 1))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
15.times { |i|
|
||||
say "#{i-1}\t#{c(i-1)}";
|
||||
say "#{i}\t#{c(i)}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue