mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-23 22:00:38 -04:00
912 B
912 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f3f11000cf542c50ff03 | Завдання 132: Великі множники реп’юнітів | 1 | 301760 | problem-132-large-repunit-factors |
--description--
Реп'юніт — число, що повністю складається з одиниць. Нехай $R(k) — реп'юніт з довжиною k.
Наприклад, R(10) = 1111111111 = 11 × 41 × 271 × 9091, а сума цих простих множників – 9414.
Знайдіть суму перших сорока простих множників R({10}^9).
--hints--
largeRepunitFactors() становить 843296.
assert.strictEqual(largeRepunitFactors(), 843296);
--seed--
--seed-contents--
function largeRepunitFactors() {
return true;
}
largeRepunitFactors();
--solutions--
// solution required