Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-429-sum-of-squares-of-unitary-divisors.md

30 lines
540 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: 5900f5191000cf542c51002c
title: 问题429单一除数的平方和
challengeType: 5
videoUrl: ''
---
# --description--
数为n的unit除数d是n的除数其性质为gcddn / d= 1。
4的除数 = 24是1、3、8和24。
它们的平方和是12 + 32 + 82 + 242 = 650。
令Sn表示n的一元除数的平方和。 因此S4 650。
求S100000000取模1000000009。
# --hints--
`euler429()`应该返回98792821。
```js
assert.strictEqual(euler429(), 98792821);
```
# --solutions--