[QUOTE=Priceguy]
Next question: Is it possible to solve the second problem so that each letter is represented at least once in each group (in your example A isn’t represented in group 2)?
[/QUOTE]
The answer is No.
Each letter occurs 4 total times. (E.g., A occurs in AB, AC, AD, and AE.) With three groups, this means that each group will have at least one letter that it contains twice.
Groups two and three only have 6 total letters, so if they need to contain all five possible letters they can have at most one letter that they contain twice.
In other words, groups 2 and 3 each contain one letter twice, and all the other letters once. (It can’t be the same letter contained twice in both groups, or all four instances of that letter would be used, with none left over for group one.)
So group 2 must look like:
Group 2: LM LN OP
for some assignment of A,B,C,D, and E to the variables L, M, N, O, and P.
There are two cases we need to consider:
CASE 1: MN is contained in group 1.
This won’t work, because if we choose MN from group 1, we can either choose LM from group 2 and need LN in group 3, or we can choose LN from group two and need LM in group 3. But both LM and LN are in group 2, and thus neither can be in group 3.
CASE 2: MN is contained in group 3.
We know we need an L in group 3, and it can’t pair with M or N (since it paired with them in group 2), so we’re left with either LO or LP. It doesn’t matter which we choose, since so far we only used O and P in OP, which is unchanged if we swap O and P. So we can arbitrarily choose O to be the one that pairs with L in group 3.
So group 3 contains: MN and LO. It can’t contain a second L (since two L’s were used in group 2), and it must contain a P, so it must contain either MP or NP. Again, we can choose either one arbitrarily, since so far we used MN in group three (which is symmetric under exchange of M and N), and we used LM and LN in group 2 (which together are symmetric under exchange of M and N). We’ll choose MP. So, we have:
Group 3: LO, MN, MP
Since we already specified group 2 above, and we just specified group 3, we know that all the remaining pairs are in group 1. So we have:
Group 1: LP MO NO NP
Group 2: LM LN OP
Group 3: LO MN MP
This won’t work, because if we choose NP from group 1, we can pick either LN or OP from group 2. This then requires LP or NO to be in group 3, respectively, but they’re both in group 1 instead.
So both cases fail.