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

32 lines
555 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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--