Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-377-sum-of-digits-experience-13.md

47 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4e51000cf542c50fff8
title: 'Задача 377: Сума цифр, випадок #13'
challengeType: 5
forumTopicId: 302039
dashedName: problem-377-sum-of-digits-experience-13
---
# --description--
Дано 16 додатних цілих чисел, які не містять нулів та сума цифр яких дорівнює 5:
5, 14, 23, 32, 41, 113, 122, 131, 212, 221, 311, 1112, 1121, 1211, 2111 та 11111.
Їхня сума дорівнює 17891.
Нехай $f(n)$ буде сумою усіх додатних чисел, що не місять нулів та сума цифр яких дорівнює $n$.
Знайдіть $\displaystyle\sum_{i=1}^{17} f(13^i)$. У відповіді вкажіть останні 9 цифр.
# --hints--
`experience13()` повинне повернути `732385277`.
```js
assert.strictEqual(experience13(), 732385277);
```
# --seed--
## --seed-contents--
```js
function experience13() {
return true;
}
experience13();
```
# --solutions--
```js
// solution required
```