A probability problem by A Former Brilliant Member

Six friends are going to give each other gifts in a such a way that everybody gives one gift and receives one . In how many ways is this possible?

Condition: No one should receive his own gift.


The answer is 265.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Relevant wiki: Derangements

Using the derangement formula = 6 ! ( 1 1 1 1 + 1 2 1 6 + 1 24 1 120 + 1 720 ) = 720 ( 53 144 ) = 265 6!(\frac{1}{1} - \frac{1}{1} +\frac{1}{2} - \frac{1}{6} + \frac{1}{24} -\frac{1}{120} + \frac{1}{720}) = 720(\frac{53}{144}) = 265

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...