Let . The goal in this problem is to obtain the number after performing a finite number of steps according to the following rules. In each step, the numbers and need to be in Shamrock Relation. Two numbers are said to be in Shamrock Relation if and only if
(a) one number is obtained from the other by replacing any block of consecutive digits by its triple repetition ; or
(b) one number is obtained from the other by replacing any connected block of the form with , where and represent blocks of consecutive digits.
Is the goal of obtaining 21 achievable?
Solution
The answer is yes. Here is one way to proceed.
use (a) with
use (b) with
use (b) with
use (b) with
use (a) with
use (a) with
21
goal achieved.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.