+ Reply to Thread
Results 1 to 6 of 6

Number of Permutations

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    467

    Number of Permutations

    What formula can I use to work how many permutations there that a snooker match can be a given score? Bearing in mind the losing player can not win the last match.

    e.g. For Player A to beat Player B in a first to five match, 5 frames to 1. I know that there are five permutations of this as Player B needs to win one of the six frames played but he can not win the sixth as Player A would have already won the five required to win the match.

    This is easy enough to work out but when it gets to Player A to win 5-4 it becomes more complexed and very tedious writing down all the permutations! I can't even face the thought of working out the number of permutations for a first to 18 match to finish 18-17 to a given player!!!

    Thanks for any help,
    Adam.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Number of Permutations

    Well ...

    If Player A wins 5-1, then the last point is (per force) a win. Among the other 5, B wins one, so there are =COMBIN(5, 1) = 5 ways that could happen.

    To win 5-4, there are 8 rounds other than the last, 4 of which are won by player B, so it could happen in=COMBIN(8, 4) = 70 ways.

    To win 18-17, there are 34 rounds other than the last, 17 of which are won by player B, so it could happen in=COMBIN(34, 17) = 2,333,606,220 ways.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,727

    Re: Number of Permutations

    Do you just need the number, or a list of the combinations? If it's the former you can use COMBIN function in Excel, e.g. winning number in A2, losing number in B2, e.g. 5 and 1, then in C2 this formula will give your result

    =COMBIN(A2+B2-1,A2-1)

    Edit: shg's suggestion effectively uses

    =COMBIN(A2+B2-1,B2)

    which is better because it's shorter.....but it'll give you the same result
    Last edited by daddylonglegs; 10-08-2010 at 06:57 PM.
    Audere est facere

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Number of Permutations

    Or =COMBIN(A2+B2-1, B2)

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,727

    Re: Number of Permutations



    I just edited to that effect.......

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Number of Permutations

    Just to explain (to Adam, not DLL!)...

    Any combination of n Choose m is the same as n Choose n-m, so, for example, 10 Choose 3 is the same as 10 Choose 7.

    Which makes sense, because you can consider 10 Choose 3 equally as choosing the 3 to include or the 7 to exclude.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1