Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-288-an-enormous-factorial.chinese.md

73 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f48d1000cf542c50ff9f
challengeType: 5
title: 'Problem 288: An enormous factorial'
videoUrl: ''
localeTitle: 问题288一个巨大的阶乘
---
## Description
<section id="description">
对于任何素数p数Npq定义为
Npq= ∑n = 0至q Tn * pn其中Tn由以下随机数生成器生成
S0 = 290797
Sn + 1 = Sn2 mod 50515093
Tn = Sn mod p
令Nfacpq为Npq的阶乘。
令NFpq为Nfacpq中因子p的数量。
给出NF3,10000mod 320 = 624955285。
求NF61,107mod 6110
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler288()</code>应该返回605857431263982000。
testString: assert.strictEqual(euler288(), 605857431263982000);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler288() {
// Good luck!
return true;
}
euler288();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>