freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-429-sum-of-squares-of-unitary-divisors.md
Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

794 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f5191000cf542c51002c Problem 429: Sum of squares of unitary divisors 5 302099 problem-429-sum-of-squares-of-unitary-divisors

--description--

A unitary divisor d of a number n is a divisor of n that has the property gcd(d, n/d) = 1.

The unitary divisors of 4! = 24 are 1, 3, 8 and 24.

The sum of their squares is 12 + 32 + 82 + 242 = 650.

Let S(n) represent the sum of the squares of the unitary divisors of n. Thus S(4!)=650.

Find S(100 000 000!) modulo 1 000 000 009.

--hints--

euler429() should return 98792821.

assert.strictEqual(euler429(), 98792821);

--seed--

--seed-contents--

function euler429() {

  return true;
}

euler429();

--solutions--

// solution required