Unfortunately, that would mean that W only gets to play on 4 teams while everybody else gets to play on more and six players (A B C D F O) get to play on 7 teams. I doubt your players will consider that fair.

Update: You can get pretty fair with this subset of teams:

A, E, F, G A, H, I, J A, N, O, P A, Q, R, S A, T, U, V B, E, H, K B, F, I, L B, N, Q, T B, O, R, U B, P, S, V C, E, I, M C, G, K, O C, J, L, P C, Q, U, W C, R, T, X D, E, J, N D, G, H, L D, M, R, V D, S, T, W E, P, Q, X F, M, S, U F, V, W, X G, I, N, R H, M, O, W I, K, S, X J, K, Q, V L, N, U, X

Which has half of the players on 5 teams (A B C E I N Q R S U V X) and half of them on 4 teams (D F G H J K L M O P T W).

Update: And if you add the following teams:

T, K, G, M D, F, H, P W, J, L, O

Then every player gets to play on 5 teams and there are only 4 pairings that ever get repeated (DH KG WO JL).

- tye        


In reply to Re^3: Unique Combos with Math::Combinatorics (games) by tye
in thread Unique Combos with Math::Combinatorics by ketema

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.