Bosnia and Herzegovina JBMO TST 2012 Problem 2
Source: Bosnia and Herzegovina Junior Balkan Mathematical Olympiad TST 2012
September 16, 2018
combinatoricstransformationsDigits
Problem Statement
Let be digit number, such that we can do transformations on it. If some two neighboring digits are different than , then we can decrease both digits by (we can transform to or ). If some two neighboring digits are different than , then we can increase both digits by (we can transform to or ). Can we transform number to: