Problem

Source: Taiwan 2nd TST, 2nd independent study, problem 2

Tags: algorithm, pigeonhole principle, number theory, relatively prime, combinatorics proposed, combinatorics



Starting from a positive integer $n$, we can replace the current number with a multiple of the current number or by deleting one or more zeroes from the decimal representation of the current number. Prove that for all values of $n$, it is possible to obtain a single-digit number by applying the above algorithm a finite number of times. There is a nice solution to this...