Saul was driving to work one day, when he glanced at his car's dashboard and noticed something interesting about his mileage indicators. His odometer, which shows the miles driven since the car was manufactured, hit 12,345.6 miles, and his trip meter read 123.4 miles. So, the meter matches the first four digits on the odometer.
(i) How far must Saul drive - before this happens again?
(ii) What is the smallest distance that Saul can drive so that the two odometers have all ten digits between them, but share no digits in common?
(In reply to Part 1 with no reset
As you recognize ("extra space on the trip odometer"), the trip meter is apparently only 3 digits before the decimal point and 1 digit after. That way the six in the main odometer and 4 in the trip make up the required 10 for part 2.
But you have a total of 5 digits in the trip meter in your solution for part 1--four before the decimal and one after. That seems wrong.
Posted by Charlie
on 2013-03-26 14:39:54