1.3 KiB
1.3 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4c81000cf542c50ffd9 | 5 | Problem 347: Largest integer divisible by two primes | 问题347:最大整数可被两个素数整除 |
Description
例如M(2,3,100)= 96。 M(3,5,100)= 75而不是90因为90可以被2,3和5整除。另外M(2,73,100)= 0因为不存在可以被2和73整除的正整数≤100。
设S(N)为所有不同M(p,q,N)的和。 S(100)= 2262。
找到S(10 000 000)。
Instructions
Tests
tests:
- text: <code>euler347()</code>应该返回11109800204052。
testString: 'assert.strictEqual(euler347(), 11109800204052, "<code>euler347()</code> should return 11109800204052.");'
Challenge Seed
function euler347() {
// Good luck!
return true;
}
euler347();
Solution
// solution required