The trick is to pick as many teams as possible. If you can get each player to be on 7 teams (42 teams total), then each player will have played with all but 2 of the other players. But doing that certainly isn't easy (while holding to your criteria). Picking teams at random, I get to about 32 teams and no other teams are possible, even though most players have a lot of players that they haven't played with yet.

If I stick to having each player being on the same number of teams, then I usually get stuck after each player has been on two teams.

My quick look for some systematic way of choosing teams to maximize the number of teams possible also got stuck after two teams each. I think it is probably possible to get to 3 teams per player, while I suspect that it will be possible to prove that 4 teams per player is impossible.

- tye        


In reply to Re: Unique Combos with Math::Combinatorics (max) 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.