Maths Olympiad Prep

Library / /33 of 42

Number theory Difficulty 6.8 National olympiad Prove it Romania

Consider a positive integer nn and the set An={1,3,5,,2n1}A_n = \{1, 3, 5, \dots, 2n - 1\}. For each pair (a,b)(a, b), where a,bAna, b \in A_n we construct the concatenated number m=abm = \overline{ab}, obtained by joining the numbers aa and bb. For instance, for 19,37A3019, 37 \in A_{30}, the concatenated number is m=1937m = 1937.

a) What is the smallest number nNn \in \mathbb{N}^* for which we get at least a perfect square?

b) Find the largest perfect square that can be obtained for n=50n = 50.

Solution

a) We cannot obtain a perfect square by concatenating two elements from the set A10={1,3,5,7,9,11,13,15,17,19}A_{10} = \{1, 3, 5, 7, 9, 11, 13, 15, 17, 19\}.

The elements 11 and 2121 from the set A11={1,3,5,7,9,11,13,15,17,19,21}A_{11} = \{1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21\} yield the perfect square 121121. Hence, the answer is n=11n = 11.

b) By concatenating two elements from A50={1,3,5,,97,99}A_{50} = \{1, 3, 5, \dots, 97, 99\} we can obtain perfect squares with at most four digits.

The largest such perfect squares are 992=980199^2 = 9801, 972=940997^2 = 9409, 952=902595^2 = 9025, 932=864993^2 = 8649, 912=828191^2 = 8281. They are not acceptable, as the first two digits form an even number.

The number 892=792189^2 = 7921 is obtained joining 7979 and 2121, where 79,21A5079, 21 \in A_{50}. In conclusion, the largest perfect square is 79217921.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.