The 11-digit number has two interesting properties: it contains the string of digits , and it is unchanged if we reverse the digits. How many 11-digit numbers have this property?
(A number cannot begin with the digit .)
Irish Mathematical Olympiad, 2014
Solution
An integer that satisfies these conditions is determined by its first (leftmost) six digits. The first instance of either the string or its reverse, , must start in position , or . In each case, there are two other digits to be chosen. These digits can be chosen arbitrarily if or its reverse start in position , but the first digit must be non-zero in the other cases. This gives a total of numbers having the required form.
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.