---
id: 5900f4181000cf542c50ff2b
challengeType: 5
title: 'Problem 172: Investigating numbers with few repeated digits'
forumTopicId: 301807
localeTitle: 'Задача 172: Исследование чисел с несколькими повторными цифрами'
---
## Description
Сколько 18-значных чисел n (без начальных нулей) есть такие, что никакая цифра не встречается более трех раз в n?
## Instructions
## Tests
```yml
tests:
- text: euler172() should return 227485267000992000.
testString: assert.strictEqual(euler172(), 227485267000992000);
```
## Challenge Seed
```js
function euler172() {
// Good luck!
return true;
}
euler172();
```