Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-172-investigating-numbers-with-few-repeated-digits.md

39 lines
862 B
Markdown
Raw Permalink 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: 5900f4181000cf542c50ff2b
title: 'Завдання 172: Дослідження чисел з кількома повторюваними цифрами'
challengeType: 5
forumTopicId: 301807
dashedName: problem-172-investigating-numbers-with-few-repeated-digits
---
# --description--
Скільки існує 18-значних чисел $n$ (що не починаються нулем), у яких жодна цифра не зустрічається більше ніж три рази в $n$?
# --hints--
`numbersWithRepeatedDigits()` має повертати `227485267000992000`.
```js
assert.strictEqual(numbersWithRepeatedDigits(), 227485267000992000);
```
# --seed--
## --seed-contents--
```js
function numbersWithRepeatedDigits() {
return true;
}
numbersWithRepeatedDigits();
```
# --solutions--
```js
// solution required
```