freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-172-investigating-n...

622 B

id title challengeType forumTopicId dashedName
5900f4181000cf542c50ff2b Problem 172: Investigating numbers with few repeated digits 5 301807 problem-172-investigating-numbers-with-few-repeated-digits

--description--

How many 18-digit numbers n (without leading zeros) are there such that no digit occurs more than three times in n?

--hints--

euler172() should return 227485267000992000.

assert.strictEqual(euler172(), 227485267000992000);

--seed--

--seed-contents--

function euler172() {

  return true;
}

euler172();

--solutions--

// solution required