Files
freeCodeCamp/curriculum/challenges/japanese/10-coding-interview-prep/project-euler/problem-132-large-repunit-factors.md
2022-01-20 20:30:18 +01:00

854 B
Raw Permalink Blame History

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f3f11000cf542c50ff03 問題 132: 巨大なレピュニット数の因数 5 301760 problem-132-large-repunit-factors

--description--

1 のみで構成される数はレピュニット数と呼ばれます。 ここでは、長さ k のレピュニット数を R(k) とします。

例えば、R(10) = 1111111111 = 11 × 41 × 271 × 9091 で、これらの素因数の和は 9414 です。

R({10}^9) の最初の 40 個の素因数の和を求めなさい。

--hints--

largeRepunitFactors()843296 を返す必要があります。

assert.strictEqual(largeRepunitFactors(), 843296);

--seed--

--seed-contents--

function largeRepunitFactors() {

  return true;
}

largeRepunitFactors();

--solutions--

// solution required