Skip to content

Commit e4b0d61

Browse files
committed
Fix tiny text tweaks
1 parent 538b05b commit e4b0d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Combinatorics/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ After the reduction of fractions, we get the following formula:
370370

371371
n * (n - 1) * ... * (n - k + 1) (n - 0) * (n - 1) * ... * (n - k + 1)
372372
C(n, k) = --------------------------------------- = -----------------------------------------
373-
k! (k - 0) * (k - 1) * ... * 1
373+
k! (0 + 1) * (1 + 1) * ... * (k - 1 + 1)
374374

375375
So the following code calculates the `C(n, k)` you're looking for:
376376

0 commit comments

Comments
 (0)