--- id: 5900f52c1000cf542c51003e challengeType: 5 title: 'Problem 447: Retractions C' videoUrl: '' localeTitle: 问题447:撤回C. --- ## Description 对于每个整数n> 1,函数族fn,a,b由fn,a,b(x)≡ax+ b mod n定义为a,b,x整数和0 对于2≤n≤N,F(N)=ΣR(n)。 F(107)≡638042271(mod 1 000 000 007)。 求F(1014)(mod 1 000 000 007)。 ## Instructions ## Tests ```yml tests: - text: euler447()应返回530553372。 testString: 'assert.strictEqual(euler447(), 530553372, "euler447() should return 530553372.");' ``` ## Challenge Seed ```js function euler447() { // Good luck! return true; } euler447(); ``` ## Solution ```js // solution required ```
对于2≤n≤N,F(N)=ΣR(n)。 F(107)≡638042271(mod 1 000 000 007)。
求F(1014)(mod 1 000 000 007)。
euler447()