If you start from the lines of the affine plane for GF(5), you get 30 teams of 5 players each, chosen from 25 players:

ABCDE AFKPU AGMSY AHOQX AILTW AJNRV BFOSW BGLQV BHNTU BIKRY BJMPX CFNQ +Y CGKTX CHMRW CIOPV CJLSU DFMTV DGORU DHLPY DINSX DJKQW EFLRX EGNPW E +HKSV EIMQU EJOTY FGHIJ KLMNO PQRST UVWXY

If you omit the last player from each team (thus always omitting Y from the teams ey is in), you get the following 30 teams.

ABCD AFKP AGMS AHOQ AILT AJNR BFOS BGLQ BHNT BIKR BJMP CFNQ CGKT CHMR +CIOP CJLS DFMT DGOR DHLP DINS DJKQ EFLR EGNP EHKS EIMQ EJOT FGHI KLMN + PQRS UVWX

This is minimal maximal in that you cannot add a new team to it, but if you remove the team UVWX, you can add several more. If you keep adding the (lexicographically) first team that goes with the rest, you get these 35 teams:

ABCD AFKP AGMS AHOQ AILT AJNR BFOS BGLQ BHNT BIKR BJMP CFNQ CGKT CHMR +CIOP CJLS DFMT DGOR DHLP DINS DJKQ EFLR EGNP EHKS EIMQ EJOT FGHI KLMN + PQRS AEUV BEWX FJUW GJVX KOUX LOVW

Update: Similarly, you also get 35 teams if you start from nothing and keep adding the (lexicographically) first team that doesn't intersect any chosen team in two or more members (Update: this is the same result as ketema's got):

ABCD AEFG AHIJ AKLM ANOP AQRS ATUV BEHK BFIL BGJM BNQT BORU BPSV CEIM +CFHN CGKO CJLP CQUW CRTX DEJN DFKP DGHL DIOQ DMRV DSTW ELOS EPQX FJOT + FMSU FVWX GINR HMOW IKSX JKQV LNUX

The J source code to generate this is (takes several seconds to run):

players =: a.{~65+i.24 teams =: (#~]-:"1~."1)~./:~/:~"1>,{4$<players good =: teams#~[:(*./"1) 1>: teams&(+/@:e."1"1 _) ,,&' '"1 (,{.@:good)^:35 i.0 4

In reply to Re: Unique Combos with Math::Combinatorics by ambrus
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.