Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Wordfeud racks

by RichardK (Vicar)
on Jul 30, 2013 at 15:31 UTC ( #1047058=note: print w/ replies, xml ) Need Help??


in reply to Wordfeud racks

How many tiles are in the bag?

for example, if it's only 100 then you're going to have to create 80,678,106,432,000 unique combinations - which might take a while :)


Comment on Re: Wordfeud racks
Replies are listed 'Best First'.
Re^2: Wordfeud racks
by choroba (Canon) on Jul 30, 2013 at 17:02 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://1047058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2015-08-02 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls