https://gaviki.com/blog/determine-the-number-of-distinguishable-permutations/