28 lines
453 B
Markdown
28 lines
453 B
Markdown
---
|
||
id: 5900f4ae1000cf542c50ffbf
|
||
title: 问题320:阶乘被整数整除
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
令N(i)是最小的整数n,这样n! 被(i!)整除1234567890
|
||
|
||
设S(u)= ∑N(i)且10≤i≤u。
|
||
|
||
S(1000)= 614538266565663。
|
||
|
||
找出S(1 000 000)mod 1018。
|
||
|
||
# --hints--
|
||
|
||
`euler320()`应该返回278157919195482660。
|
||
|
||
```js
|
||
assert.strictEqual(euler320(), 278157919195482660);
|
||
```
|
||
|
||
# --solutions--
|
||
|