freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-468-smooth-divisors...

56 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f5411000cf542c510054
challengeType: 5
videoUrl: ''
2020-10-01 15:54:21 +00:00
title: 问题468二项式系数的平滑除数
---
## Description
<section id="description">如果没有一个整数因子大于B则整数称为B-smooth。 <p>设SBn是n的最大B-平滑除数。示例S110= 1 S42100= 12 S172496144= 5712 </p><p>定义Fn=Σ1≤B≤nΣ0≤r≤nSBCnr。这里Cnr表示二项式系数。示例F11= 3132 F1 111mod 1 000 000 993 = 706036312 F111 111mod 1 000 000 993 = 22156169 </p><p>求F11 111 111mod 1 000 000 993。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler468()</code>应该返回852950321。
testString: assert.strictEqual(euler468(), 852950321);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler468() {
// Good luck!
return true;
}
euler468();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>