Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-303-multiples-with-small-digits.russian.md

58 lines
1.1 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: 5900f49b1000cf542c50ffae
challengeType: 5
title: 'Problem 303: Multiples with small digits'
forumTopicId: 301957
localeTitle: 'Задача 303: умножение с небольшими цифрами'
---
## Description
<section id='description'>
Для положительного целого n определим f (n) как наименьшее положительное кратное n, которое, записанное в базе 10, использует только цифры ≤ 2. Таким образом, f (2) = 2, f (3) = 12, f (7) = 21, f (42) = 210, f (89) = 1121222. Также, . <p> Найти . </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler303()</code> should return 1111981904675169.
testString: assert.strictEqual(euler303(), 1111981904675169);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler303() {
// Good luck!
return true;
}
euler303();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>