Back to Freecodecamp

Problem 172: Investigating numbers with few repeated digits

curriculum/challenges/english/blocks/project-euler-problems-101-to-200/5900f4181000cf542c50ff2b.md

latest479 B
Original Source

--description--

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

--hints--

numbersWithRepeatedDigits() should return 227485267000992000.

js
assert.strictEqual(numbersWithRepeatedDigits(), 227485267000992000);

--seed--

--seed-contents--

js
function numbersWithRepeatedDigits() {

  return true;
}

numbersWithRepeatedDigits();

--solutions--

js
// solution required