Partial derangements?

306 Views Asked by At

I have the numbers $\{1, 2, 3, 4\}$.

How would you find the number of arrangements in which only $3$ of the numbers are in their original positions? What about only $2$ in their original positions? Only $1$? None?

For the none case, I know this is just same as finding number of derangements. However, is there actually a method to calculate this? I could not find any online. Do you just have to brute force it?

1

There are 1 best solutions below

2
On BEST ANSWER

For exactly $3$ numbers in place the answer is easy: there are $0$ possibilities. I think you can see why.

In general if $D(n)$ denotes the number of derangements of$~n$ objects, you can choose the $k$ required fixed points in $\binom nk$ ways, and what remains must by a derangement of the remaining objects, for a number $D_{n,k}\binom nkD(n-k)$ of possibilities. These numbers are called rencontres numbers.

The obvious fact that $\sum_kD_{n,k}=n!$, together with the given identity, is actually at the basis of one well known approach (among many) to finding a formula for the numbers $D(n)$. Namely $D(n)=D_{n,0}$, and a formula for the remaining terms in the summation can be assumed proven by induction.