As I understand there are $4$ cases for permutations:
$n$ objects, given by $n!$
$n$ objects, $k$ identical, given by $\frac{n!}{k!}$
$n$ objects, $r$ positions, given by $\frac{n!}{(n-r)!}$
$n$ distinct, $k$ identical, r positions, which is not in my textbook and I can't seem to be able to calculate : (
Please assist
For example lets assume we have objects AABC ($n=4,k=2$)
The possible arrangements for $r=2$ are:
- AA, AA
- AB, AB
- BA, BA
- AC, AC
- CA, CA
- BC
- CB
The right column refers to the same combination but switching the A with the second A. Since they are identical we don't care to count these as separate cases.
Thus in this case the answer to the 4th case should be $7$.