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

1.0 KiB
Raw Blame History

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

Description

Сколько 18-значных чисел n (без начальных нулей) есть такие, что никакая цифра не встречается более трех раз в n?

Instructions

Tests

tests:
  - text: <code>euler172()</code> should return 227485267000992000.
    testString: assert.strictEqual(euler172(), 227485267000992000);

Challenge Seed

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

euler172();

Solution

// solution required