477 B
477 B
id | title | challengeType | videoUrl |
---|---|---|---|
5900f4d01000cf542c50ffe2 | 问题355:最大互质子集 | 5 |
--description--
将Co(n)定义为来自{1,2,...,n}的一组相互共元素的最大可能和。例如,Co(10)是30并且在子集{1,5,7,8,9}上达到最大值。
给出Co(30)= 193和Co(100)= 1356。
找到Co(200000)。
--hints--
euler355()
应返回1726545007。
assert.strictEqual(euler355(), 1726545007);