All four-digit positive integers which are rearrangements of the number are written in increasing order. What is the largest possible difference between two adjacent numbers in this list?
Solution
is the smallest number starting with a and is the largest number starting with a . The difference between these is . Adjacent numbers between and will be less than apart, while adjacent numbers larger than will be less than apart. Thus .
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.