2021-01 Single-digit number

Prove that for any given positive integer \( n \), there exists a sequence of the following operations that transforms \( n \) to a single-digit number (in decimal representation).

1) multiply a given positive integer by any positive integer.

2) remove all zeros in the decimal representation of a given positive integer.

GD Star Rating