When 11...1 22...2 5 is a perfect square
Source: German TST 2004, IMO ShortList 2003, number theory problem 4
May 19, 2004
modular arithmeticnumber theorydecimal representationPerfect SquareIMO Shortlist
Problem Statement
Let be an integer greater than . For each positive integer , consider the number x_n = \underbrace{11\cdots1}_{n \minus{} 1}\underbrace{22\cdots2}_{n}5, written in base .Prove that the following condition holds if and only if b \equal{} 10: there exists a positive integer such that for any integer greater than , the number is a perfect square.Proposed by Laurentiu Panaitopol, Romania