Number theoryDifficulty 5.6AIME, harderProve itBrazil
A natural number is a palindrome when one obtains the same number when writing its digits in reverse order. For example, 481184, 131 and 2 are palindromes. Determine all pairs (m,n) of positive integers such that 111…1m ones×111…1n ones is a palindrome.
Solution
Note that N=111…1m ones×111…1n ones has exactly m+n−1 digits, since 111…1m ones×111…1n ones<2⋅10m−1×2⋅10n−1=4⋅10m+n−2. If m,n>9, then considering the tenth leftmost digit, there would be a carry, thus the number consisting of the first nine digits of N is bigger than the number formed by the last nine digits of N, in reversed order. Then if m and n are bigger than 9 the number N is not a palindrome.
If one of the numbers m, n does not exceed 9 then there won't be a carry and thus the number N is palindrome.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.