1.1 KiB
1.1 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4c31000cf542c50ffd5 | 5 | Problem 342: The totient of a square is a cube | Problema 342: El totiente de un cuadrado es un cubo. |
Description
Encuentre la suma de todos los números n, 1 <n <1010 de manera que φ (n2) sea un cubo.
1 φ denota la función totient de Euler.
Instructions
Tests
tests:
- text: <code>euler342()</code> debe devolver 5943040885644.
testString: 'assert.strictEqual(euler342(), 5943040885644, "<code>euler342()</code> should return 5943040885644.");'
Challenge Seed
function euler342() {
// Good luck!
return true;
}
euler342();
Solution
// solution required