Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Wordfeud racks

by choroba (Abbot)
on Jul 30, 2013 at 17:02 UTC ( #1047073=note: print w/ replies, xml ) Need Help??


in reply to Re: Wordfeud racks
in thread Wordfeud racks

How did you get the number? Combinations

$ echo $(echo {2..100} | sed 's/ /*/g') \ / $(echo {2..7} | sed 's= =/=g') \ / $(echo {2..93} | sed 's= =/=g') | bc 16007560800

Also confirmed at http://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html and http://easycalculation.com/statistics/permutation-combination.php.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^2: Wordfeud racks
Download Code
Re^3: Wordfeud racks
by RichardK (Priest) on Jul 30, 2013 at 17:29 UTC

    Sorry, I meant permutations, so there a N!/(N-K)! ways to select K tiles from a bag of N.

    Or for 7 of 100 tiles = 100*99*98*97*96*95*94 permutations.

    I think it will be easier to calculate the probabilities of the different combinations rather than count them, but it's still going to be a fair amount of work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047073]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls