max interchangeable 4-digit May Olympiad (Olimpiada de Mayo) 2016 L2 P1
Source:
September 25, 2021
number theoryDigits
Problem Statement
We say that a four-digit number , which starts at and ends at , is interchangeable if there is an integer such that is a four-digit number that begins with and ends with . For example, is interchangeable since . Find the largest interchangeable number.