941 B
941 B
id | challengeType | title | forumTopicId |
---|---|---|---|
5900f4c31000cf542c50ffd5 | 5 | Problem 342: The totient of a square is a cube | 302001 |
Description
Find the sum of all numbers n, 1 < n < 1010 such that φ(n2) is a cube.
1 φ denotes Euler's totient function.
Instructions
Tests
tests:
- text: <code>euler342()</code> should return 5943040885644.
testString: assert.strictEqual(euler342(), 5943040885644);
Challenge Seed
function euler342() {
// Good luck!
return true;
}
euler342();
Solution
// solution required