N with last digit c, wipe c and name it as m, replace m with m-3c
Source: Czech And Slovak Mathematical Olympiad, Round III, Category A 2013 p4
February 17, 2020
combinatoricsgameDigitsDigit
Problem Statement
On the board is written in decimal the integer positive number . If it is not a single digit number, wipe its last digit and replace the number that remains on the board with a number . (For example, if on the board, .) Find all the natural numbers , by repeating the adjustment described eventually we get the number .