Cool Problem In The Hot Summer

The letters of the word COCHIN are permutated and all permutations are arranged in an alphabetical order as in an English dictionary.

What is the number of words that appear before the word COCHIN?

Clarification: The words formed don't actually have to make sense, CCOHNI is an example.

96 192 48 36

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

Stewart Gordon
Jun 9, 2015

In alphabetical order, the letters are CCHINO.

COCHIN is the first possible permutation beginning CO. As such, the permutations that come before COCHIN are exactly those matching these patterns C C ( H I N O ) C H ( C I N O ) C I ( C H N O ) C N ( C H I O ) CC(HINO)\\ CH(CINO)\\ CI(CHNO)\\ CN(CHIO) where unbracketed portions are constant, and bracketed portions denote arbitrary permutations of the letters contained.

Each bracketed portion contains four letters, all distinct, the number of permutations of which is 4 ! = 24 4! = 24 . Since there are four disjoint patterns to match, each of this form, the total number of matching permutations is 4 × 4 ! = 96 4 \times 4! = \boxed{96} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...