0
Challenge
By Wikipedia, a repdigit is a natural number composed of repeated instances of the same digit. For example, \$0\$, \$1\$, \$33\$, \$555\$, \$9999\$ are repdigits, while \$10\$, \$121\$, \$3332\$ is not.
Your task is, given a number, output the smallest positive number such that the sum ...