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 .)
, 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,000 problems in a working order, from AMC 10 level to the IMO shortlist.