The positive five-digit integers that use each of the digits 1, 2, 3, 4 and 5 exactly once are ordered from least to greatest. What is the 50th integer in the list?
Yes there is a quicker way.
How many begin with 1? that would be 4!=24
The next 24 would begin with 2
So the first 48 begin with either 1or 2
The 49th one will be 31245
and he 50th one will be 31254