Six cards are numbered 1, 2, 3, 4, 5, and 6, and so are six envelopes. Each card is put into an envelope such that
Then the number of ways it can be done is
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.
This can be done using the principle of derangements There can be 2 different cases
Case 1: The card 2 goes to envelope 1 Then the other four letters can be deranged ie, D4=9
Case 2: The card 2 does not go to envelope 1 Then all 5 letters can be deranged ie, D5=44
Thus total ways=D4+D5=9+44=53