1.3 KiB
1.3 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4491000cf542c50ff5c | 5 | Problem 221: Alexandrian Integers | Problema 221: Inteiros de Alexandria |
Description
A = p · q · r and 1A
=
1p
+
1q
+
1r
Por exemplo, 630 é um inteiro alexandrino (p = 5, q = −7, r = −18). De fato, 630 é o 6º inteiro alexandrino, sendo os 6 primeiros inteiros de Alexandria 6, 42, 120, 156, 420 e 630.
Encontre o 150000º inteiro alexandrino.
Instructions
Tests
tests:
- text: <code>euler221()</code> deve retornar 1884161251122450.
testString: 'assert.strictEqual(euler221(), 1884161251122450, "<code>euler221()</code> should return 1884161251122450.");'
Challenge Seed
function euler221() {
// Good luck!
return true;
}
euler221();
Solution
// solution required