freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-200-find-the-200th-...

729 B
Raw Blame History

id title challengeType videoUrl
5900f4351000cf542c50ff47 问题200找到包含连续子串“200”的第200个防爆大概 5

--description--

我们将一个sqube定义为一个形式的数字p2q3其中p和q是不同的素数。例如200 = 5223或120072949 = 232613。

前五个角是72,108,200,392和500。

有趣的是200也是第一个不能改变任何单个数字来构成素数的数字;我们称这些数字为主要证据。包含连续子串“200”的下一个主要证明群是1992008。

找到包含连续子串“200”的第200个防质量的sqube。

--hints--

euler200()应该返回229161792008。

assert.strictEqual(euler200(), 229161792008);

--solutions--