Vivid Colors

You have 7 umbrellas, each with a different color, and for every Umbrella you have a sleeve of the same color. In how many ways can you stick the umbrellas into sleeves not of the same color?

Image Credit: Flickr Milica V .


The answer is 1854.

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.

2 solutions

Syed Baqir
Sep 10, 2015

More Precise solution is:

i ! n = 0 7 ( ( 1 ) n n ! ) i!\cdot \sum _{n=0}^7\left(\frac{\left(-1\right)^n}{\:n!}\right)

7 ! 103 280 = 1854 \therefore \quad \rightarrow \quad 7! * \quad \frac{103}{280} = \boxed{1854}

Vijay Simha
Sep 5, 2015

In combinatorial mathematics, a derangement is a permutation of the elements of a set, such that no element appears in its original position.

The following recurrence relation holds true for derangements:

!n = (n - 1) (!(n-1) + !(n-2)). where !n, known as the subfactorial, represents the number of derangements, with the starting values !0 = 1 and !1 = 0.

We need to find !7 in our case.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...