Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

feeling facetious?

 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many ways can the letters in FACETIOUS be arranged such that the vowels remain in the correct order?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3024
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bingo!
nicely done
 
shankar vembu
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
9c4 * 4! = 3024
[ June 11, 2004: Message edited by: shankar vembu ]
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's how my math teacher did it... I like my method, though...

total of combinations, ignoring vowel rule: 9!
probablity that, in any given combination, the vowels are in the right order: 1/5!

9!*(1/5!)=3024
 
shankar vembu
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joseph George:
That's how my math teacher did it... I like my method, though...

total of combinations, ignoring vowel rule: 9!
probablity that, in any given combination, the vowels are in the right order: 1/5!

9!*(1/5!)=3024


Neat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic