Permutations with Repetition - Formula and Examples