Problem 24 - Find 1000000th permutation of [0,1,2,3,4,5,6,7,8,9]