Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
1.4 KiB
1.4 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f4571000cf542c50ff69 | 5 | false | Problem 234: Semidivisible numbers | 301878 |
Description
The sum of the semidivisible numbers not exceeding 15 is 30, the numbers are 8, 10 and 12. 15 is not semidivisible because it is a multiple of both lps(15) = 3 and ups(15) = 5. As a further example, the sum of the 92 semidivisible numbers up to 1000 is 34825.
What is the sum of all semidivisible numbers not exceeding 999966663333 ?
Instructions
Tests
tests:
- text: <code>euler234()</code> should return 1259187438574927000.
testString: assert.strictEqual(euler234(), 1259187438574927000);
Challenge Seed
function euler234() {
// Good luck!
return true;
}
euler234();
Solution
// solution required