We have a dictionary (numbers in this realisation) and Permutation() creates permutations on the given number of positions (int[] places).
If the length of the dictionary equals the number of places, then the number of permutations equals the length of the dictionary in the power of the length