Monkeying around

In how many different ways can you rearrange the letters in the word MONKEY such that no letter in the new arrangement is in the same place as in the original word? (I.e. NOKEYM wouldn't work since O would be in the same place as it was in MONKEY.)


For more permutations quizzes, check out my other problems .


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.

5 solutions

Laurent Shorts
Apr 3, 2016

A formula is also D n = ( n 1 ) ( D n 1 + D n 2 ) D_n = (n-1)(D_{n-1}+D_{n-2}) with D 0 = 1 D_0=1 and D 1 = 0 D_1=0 .

Yes ,the same solution

Aniket Sanghi - 5 years, 2 months ago

Ah... Nice answer!

Geoff Pilling - 5 years, 2 months ago

can also use the dearrangement formula derived using inclusion-exclusion principle ie; n!(1/2!-1/3!+1!-+-+....1/n!) here n=6 (because we need to "dearrange" 6 letters(all distinct) of the word "MONKEY"

Tejas S - 1 year, 8 months ago

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

Geoff Pilling
Apr 3, 2016

By the derangement theorem, the number of combinations is given by !n = n!(1 - 1/1! + 1/2! - 1/3! + ....).

So, in this case, since MONKEY has six letters, the number of permutations where no letter winds up in the same place is given by:

!6 = 6!(1 - 1/1! + 1/2! - 1/3! + 1/4! - 1/5! + 1/6!) = 265

Geoff -- nice problem! I've added it as a "Try-it-yourself" to the wiki on derangements .

Eli Ross Staff - 5 years, 2 months ago

Log in to reply

Excellent, thanks Eli... I hope people like it! :)

Geoff Pilling - 5 years, 2 months ago
Logan Valenti
Dec 30, 2017

The number of derangements for n n objects is n ! e \frac{n!}{e} , rounded to the nearest integer.

Thus, the number of derangements is 6 ! e = 720 e 265 \frac{6!}{e} = \frac{720}{e} \approx 265 .

Nice answer!

Geoff Pilling - 3 years, 5 months ago
Tejas S
Oct 15, 2019

can also use the dearrangement formula derived using inclusion-exclusion principle ie; n!(1/2!-1/3!+1!-+-+....1/n!) here; in this question; n=6 (because we need to "dearrange" 6 letters(all distinct) of the word "MONKEY"

How would this be done for a word like "TELLER"

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...