From af77d1adc18883a4f0575d9aee7e539c4c320f82 Mon Sep 17 00:00:00 2001 From: RequireSun Date: Fri, 28 Dec 2018 22:33:25 +0800 Subject: [PATCH] Create README.zh-CN.md (#267) --- src/algorithms/math/factorial/README.zh-CN.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/algorithms/math/factorial/README.zh-CN.md diff --git a/src/algorithms/math/factorial/README.zh-CN.md b/src/algorithms/math/factorial/README.zh-CN.md new file mode 100644 index 00000000..89bcff1f --- /dev/null +++ b/src/algorithms/math/factorial/README.zh-CN.md @@ -0,0 +1,27 @@ +# 阶乘 + +在数学上, 一个正整数 `n` 的阶乘 (写作 `n!`), 就是所有小于等于 `n` 的正整数的乘积. 比如: + +``` +5! = 5 * 4 * 3 * 2 * 1 = 120 +``` + +| n | n! | +| ----- | --------------------------: | +| 0 | 1 | +| 1 | 1 | +| 2 | 2 | +| 3 | 6 | +| 4 | 24 | +| 5 | 120 | +| 6 | 720 | +| 7 | 5 040 | +| 8 | 40 320 | +| 9 | 362 880 | +| 10 | 3 628 800 | +| 11 | 39 916 800 | +| 12 | 479 001 600 | +| 13 | 6 227 020 800 | +| 14 | 87 178 291 200 | +| 15 | 1 307 674 368 000 | +