mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-06 06:39:18 -05:00
779 B
779 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f3f11000cf542c50ff03 | Problem 132: Große Repunit-Faktoren | 1 | 301760 | problem-132-large-repunit-factors |
--description--
Eine Zahl, die alleinig aus Einsen besteht, wird Repunit genannt. We shall define R(k) to be a repunit of length k.
Zum Beispiel gilt, dass R(10) = 1111111111 = 11 × 41 × 271 × 9091 und die Summe dieser Primfaktoren 9414 ist.
Finde die Summe der ersten 40 Primfaktoren von R({10}^9).
--hints--
largeRepunitFactors() sollte 843296 ausgeben.
assert.strictEqual(largeRepunitFactors(), 843296);
--seed--
--seed-contents--
function largeRepunitFactors() {
return true;
}
largeRepunitFactors();
--solutions--
// solution required