Very confused on this question. How would you solve it, and what would be the answer(s).
Recently I was driving down the freeway and spotted the following freeway sign with the distances to three upcoming cities:
Ahmanson: 147 Miles
Chandler: 265 Miles
Schubert: 380 Miles
I thought the sign was unusual because the distances to the three cities featured all different digits. I realized that in 100 miles, the distances to the three cities would again have all different digits. But I wanted to know if that could happen sooner. In how many miles would I next see another freeway sign with all different digits for the distances to the three cities?
Let $x$ be the number of miles since you passed that sign. To find the smallest value of $x > 0$ with the given property, we can exclude some cases, due to the initial digits $1,2,3$ of $A, C, S$.
This already excludes all numbers below $70$, except for $1, \dots, 7$ and $61, \dots, 65$. Excluding the remaining cases in a straightforward way is not so easy though, but we can do this in a somewhat structured way by looking at the last digits of $A,C,S$ and comparing them to the first digits of $A,C,S$.
This means that below $70$, we only have to check $1$ and $61$ by hand. $x = 1$ is not a solution, but $\boxed{x = 61}$ is a solution, and hence the smallest solution.
To find all solutions with $x < 100$, you could try continuing a similar approach. Since I'm too lazy for that, I'll just give you the other solutions using brute force:
$$x = (61), 78, 87, 91.$$