Dislocation rearrangement

example

6 fighters write their names on the guns and put them into the same box. The next day, these 6 fighters take their guns at random. How many situations are there in which exactly two fighters hold their guns correctly? C

  1. 16       B.45       C.135        D.265

C62 * 9 = 135

//Suppose two of the 6 get their own, and then the remaining 4 are misplaced and rearranged

Misplaced rearrangement:

Items: 1 2 3 4 5

       0      1       2       9        44

General items:

Dn=(n-1)(Dn-1+Dn-2)

Guess you like

Origin blog.csdn.net/weixin_53630942/article/details/124002346