September 9th, 2009, 12:29 am
the general case is related to the constant-weight code. the problem posed here asks for A(9,4,3).formula for A(n,4,3) (i.e., given n colors) is known, e.g., Brouwer et al. (1990), or see A001839----- ----- ----- ----- -----a related note, the upper bound mentioned earlier: (n \choose 2)/(3 \choose 2)=n(n-1)/6 is achieved iff n=1 or 3 (mod 6), for which the Steiner triple system exists (the page has a nice illustration of the case n=9 asked here). the result was known to Kirkman in 1847, and is related to his famous schoolgirl problem.
Last edited by
wileysw on September 8th, 2009, 10:00 pm, edited 1 time in total.