We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf2cd9 commit af77d1aCopy full SHA for af77d1a
src/algorithms/math/factorial/README.zh-CN.md
@@ -0,0 +1,27 @@
1
+# 阶乘
2
+
3
+在数学上, 一个正整数 `n` 的阶乘 (写作 `n!`), 就是所有小于等于 `n` 的正整数的乘积. 比如:
4
5
+```
6
+5! = 5 * 4 * 3 * 2 * 1 = 120
7
8
9
+| n | n! |
10
+| ----- | --------------------------: |
11
+| 0 | 1 |
12
+| 1 | 1 |
13
+| 2 | 2 |
14
+| 3 | 6 |
15
+| 4 | 24 |
16
+| 5 | 120 |
17
+| 6 | 720 |
18
+| 7 | 5 040 |
19
+| 8 | 40 320 |
20
+| 9 | 362 880 |
21
+| 10 | 3 628 800 |
22
+| 11 | 39 916 800 |
23
+| 12 | 479 001 600 |
24
+| 13 | 6 227 020 800 |
25
+| 14 | 87 178 291 200 |
26
+| 15 | 1 307 674 368 000 |
27
0 commit comments