freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-326-modulo-summatio...

32 lines
555 B
Markdown
Raw Normal View History

---
id: 5900f4b21000cf542c50ffc5
title: 问题326模数汇总
challengeType: 5
videoUrl: ''
---
# --description--
设一个递归定义的序列:。
因此前10个元素是1,1,0,3,0,3,5,4,1,9。
设fNM表示对pq的数量使得
可以看出f10,10= 43,35,57,99,10
你也得到f104,103= 97158。
求f1012,106
# --hints--
`euler326()`应该返回1966666166408794400。
```js
assert.strictEqual(euler326(), 1966666166408794400);
```
# --solutions--