Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
 M¢25  Funded By Mahalo ? |  November 05, 2009 05:15 AM

Number of possibilities in a word game involving permutations?

There's a word game that gives 6 letters to me at random. Using those letters, I can make 3,4,5 and 6 letter words. I tried 6!/(3!(6-3)!) for 3 letters words, but that seems too small. What's the proper formula to find the number of permutations for 3,4,5 and six letter words?
Interesting Question?  Yes (0)   No (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
November 05, 2009 07:54 AM
The formula you are using is for combinations where order of the letters does not matter. Of course, for words order does matter, so we need to treat the groupings as permutations. (Note, we are treating a "word" as any group of letters whether it makes linguistic sense or not.)

To determine the number of possible words simply decide how many letters you have for the first letter, say 6, then take that letter out and determine how many for the second with what is left over, say 5, and then finally for the third letter you likely have 4 letters left over. So the total number of three letter words would be 6*5*4 = 120. For four letter words, 6*5*4*3 = 360, etc.

Note this does assume you have 6 different letters. If you have 5 distinct letters, say for the word "assume". The double S's change things.

For this, let's go back to the combinations you were using. If we choose 3 letters from the six without regard to order, we get 6!/{3!*3!} = 20 as you found before. That's 20 ways to pick 3 letters. If we then worry about order, there are 6 ways to order the three letters, 3*2*1 as we discussed above. Thus 20*6 = 120 gets us back to our previous answer of number of three letter words from 6 letters.

Let's use this info to our advantage when our 6 letters are "assume". 20 ways to pick three letters. How many of these ways have the two S's? Remember order doesn't matter at the moment, so there are only 4 ways we can pick three letters containing both S's. This is obvious since we have only four ways to pick the third letter.

Now consider these four special collections containing 2 S's and a third letter. How many distinct ways to arrange them? Hopefully, it is somewhat obvious that there are three ways. (Basically, choose where the odd letter is in the order and the other two spots have to be S's.) Four of these groups, each with three ways to arrange them, means we have 12 distinct words that can be arranged.

The remaining 16 groups each have 3 distinct letters and we already know that each of these groups makes 6 words. 16 * 6 = 96, add in the 12 from above and we get 108 distinct three letter words that can be made from 6 letters with one repeat.

Hopefully, by mimicking the above process you can figure out the number of four, five and six letter words, taking into account for the possible times when you have letters that repeat.

Good luck!
Asker's Rating:
• Very detailed, and since it makes sense I know it's correct. Thank you very much!!


Helpful Answer?  (1)   (0)   

Helpful: bsee08

Tip docbrown for this answer
Permalink | Report
   Reply  
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • buddawiggi
    buddawiggi
    2nd Degree Black Belt
    26935 Points
    M$783.09 Earned
  • kty2777
    kty2777
    Purple Belt with a Brown Tip
    5400 Points
    M$199.92 Earned
  • opher
    opher
    Purple Belt
    4132 Points
    M$185.92 Earned
   See All
 

Most Popular Tags

mahalo(1586)
iphone(461)
music(459)
google(352)
food(314)
online(292)
beer(278)
money(262)
movies(254)
apple(250)
aotd(235)
health(217)
video(204)
dog(202)
free(201)
   See All
 

Categories

Welcome New Members


 
 
Mahalo Dollars are the currency of Mahalo Answers.

Each Mahalo Dollar costs $1.

Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

 
 

Please log in to use this function.