Find the permutations of digits from a given number