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.1 KiB
1.1 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f4e51000cf542c50fff8 | 5 | false | Problem 377: Sum of digits, experience 13 | 302039 |
Description
Let f(n) be the sum of all positive integers that do not have a zero in their digits and have a digital sum equal to n.
Find \displaystyle \sum_{i=1}^{17} f(13^i)
.
Give the last 9 digits as your answer.
Instructions
Tests
tests:
- text: <code>euler377()</code> should return 732385277.
testString: assert.strictEqual(euler377(), 732385277);
Challenge Seed
function euler377() {
// Good luck!
return true;
}
euler377();
Solution
// solution required