Circular Permutation With Repetition