A positive integer is clowny if the number obtained by reversing its digits is greater than . For example, is clowny because is greater than ; however, is not clowny because is less than and is not clowny because it is equal to the number obtained by reversing its digits. How many four-digit numbers are clowny?
Brazilian Math Olympiad
Solution
Let be a four-digit number , , , being its digits. So a number is clowny if and only if . This means that either or and . Notice that we cannot have both and because it would imply .
There are choices in the first case (recall that ) and choices in the second case ( choices for and for ). So there are four-digit clowny numbers.
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.