Permutations of Objects Not All Distinct

The number of mutually distinguishable permutations of n things, taken all at a time, of which p are alike of one kind, q alike of second such that p + q = n, is n!/p! q!.