Skip to content

Commit af77d1a

Browse files
RequireSuntrekhleb
authored andcommittedDec 28, 2018
Create README.zh-CN.md (trekhleb#267)
1 parent 2bf2cd9 commit af77d1a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)
Please sign in to comment.