https://rukav22.ru/a/skolko-sushhestvuet-10-znachnyh-chisel-s-povtoryaushhimisya-ciframi
Сколько существует 10-значных чисел с повторяющимися цифрами