MathDB
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 abcd\overline{abcd} , which starts at aa and ends at dd, is interchangeable if there is an integer n>1n >1 such that n×abcdn \times \overline{abcd} is a four-digit number that begins with dd and ends with aa. For example, 10091009 is interchangeable since 1009×9=90811009\times 9=9081. Find the largest interchangeable number.