9 May 2017

Here is a puzzle that will remind you of math from high school

Take the word “MONOTONE”. In how many different ways can you jumble up all the letters such that M will never come after E?



Posted May 9, 2017 by Rajib Roy in category "Puzzles

34 COMMENTS :

    1. By Dhananjay Nene on

      Yep, thats correct. And although I didn’t know enough to solve it that way, here’s the brute force proof ๐Ÿ™‚ ๐Ÿ™‚

      print(len(filter(lambda s: s.index(‘M’) < s.index('E'),
      set(itertools.permutations(
      ['M','O','N','O','T','O','N','E'])))))

      Its in a language called python

      Reply
    1. By Anand Iyer on

      If you are always making 8 letter words, then half of the permutations have “m” before “e”

      Reply
  1. By Anand Iyer on

    But i also see that semantically two eight letter words with repeat letters in similar positions are in fact not unique..

    Reply
    1. By Balaji Kane on

      The second part is to account for all cases where EM appear together. Let me see what else I may be missing !

      Reply
  2. By Saurabh on

    Number of ways in which M always comes before E = 7.(7+1)/2 = 28

    Arranging the rest of the six letter for each of the above cases = 6!/(3!.2!) = 60

    Therefore, the answer is = 28.60 = 1680

    Reply
    1. By Rajib Roy (Post author) on

      That works! Another way to think about it… combinations of 8 objects with 3 like and 2 like objects – 8! / (3! x 2! )
      Half of them will have M before E and vice versa

      Reply

Leave a Reply to Balaji Kane Cancel reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.