MathDB
Find digits x,y,z such that equality holds

Source:

September 27, 2010
number theorydecimal representationequationIMO ShortlistIMO Longlist

Problem Statement

Find digits x,y,zx, y, z such that the equality xxx2n timesyyyn times=zzzn times\sqrt{\underbrace{\overline{xx\cdots x}}_{2n \text{ times}}-\underbrace{\overline{yy\cdots y}}_{n \text{ times}}}=\underbrace{\overline{zz\cdots z}}_{n \text{ times}} holds for at least two values of nNn \in \mathbb N, and in that case find all nn for which this equality is true.