---
id: 5900f4181000cf542c50ff2b
challengeType: 5
title: 'Problem 172: Investigating numbers with few repeated digits'
videoUrl: ''
localeTitle: 'Задача 172: Исследование чисел с несколькими повторными цифрами'
---

## Description
<section id="description"> Сколько 18-значных чисел n (без начальных нулей) есть такие, что никакая цифра не встречается более трех раз в n? </section>

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>euler172()</code> должен вернуть 227485267000992000.
    testString: 'assert.strictEqual(euler172(), 227485267000992000, "<code>euler172()</code> should return 227485267000992000.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function euler172() {
  // Good luck!
  return true;
}

euler172();

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
