freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-52-permuted-multipl...

55 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f3a01000cf542c50feb3
challengeType: 5
title: 'Problem 52: Permuted multiples'
videoUrl: ''
localeTitle: 'Задача 52: Разрешенные множители'
---
## Description
<section id="description"> Можно видеть, что число 125874 и его двойное 251748 содержат точно такие же цифры, но в другом порядке. Найдите наименьшее положительное целое число x, такое, что 2x, 3x, 4x, 5x и 6x содержат одинаковые цифры. </section>
## Instructions
undefined
## Tests
<section id='tests'>
```yml
tests:
- text: ''
testString: 'assert.strictEqual(permutedMultiples(), 142857, "<code>permutedMultiples()</code> should return 142857.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function permutedMultiples() {
// Good luck!
return true;
}
permutedMultiples();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>