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

58 lines
1.4 KiB
Markdown
Raw 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
challengeType: 5
title: 'Problem 377: Sum of digits, experience 13'
forumTopicId: 302039
localeTitle: 'Задача 377: Сумма цифр, опыт 13'
---
## Description
<section id='description'>
Есть 16 положительных целых чисел, которые не имеют нуля в своих цифрах и имеют цифровую сумму, равную 5, а именно: 5, 14, 23, 32, 41, 113, 122, 131, 212, 221, 311, 1112, 1121, 1211, 2111 и 11111. Их сумма составляет 17891. <p> Пусть f (n) - сумма всех натуральных чисел, которые не имеют нуля в своих цифрах и имеют цифровую сумму, равную n. </p><p> Найдите $ \ displaystyle \ sum_ {i = 1} ^ {17} f (13 ^ i) $. Дайте последние 9 цифр в качестве вашего ответа. </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler377()</code> should return 732385277.
testString: assert.strictEqual(euler377(), 732385277);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler377() {
// Good luck!
return true;
}
euler377();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>