1.2 KiB
1.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4e51000cf542c50fff8 | 5 | Problem 377: Sum of digits, experience 13 | Problema 377: Soma dos dígitos, experiência 13 |
Description
Seja f (n) a soma de todos os inteiros positivos que não tenham zero em seus dígitos e tenham uma soma digital igual a n.
Encontre $ \ displaystyle \ sum_ {i = 1} ^ {17} f (13 ^ i) $. Dê os últimos 9 dígitos como sua resposta.
Instructions
Tests
tests:
- text: <code>euler377()</code> deve retornar 732385277.
testString: 'assert.strictEqual(euler377(), 732385277, "<code>euler377()</code> should return 732385277.");'
Challenge Seed
function euler377() {
// Good luck!
return true;
}
euler377();
Solution
// solution required