@moskowitz
I understand how to arrive at the explanation that there are three players with red dots. There's no need to be so pedantic (and frankly, seemingly condescending).
Did you arrive at an answer yet? I'm interested to see how you got something specifically other than 6? We may be making some different fundamental assumptions in interpreting the statements in the problem.
Note: after round 4, although the novice and his sister have different colored dots, it is still possible that they both leave in the same round (specifically round 5).
Here is how I got my answer of 6:
*** SPOILER BELOW ***
Assumption (as moskowitz already detailed above): the professors statement implies that no one has a unique color. Thus, everyone belongs to a color group of at least two.
Core Lemma:
If there are n players with the same colored dot, they will all leave on the bell ring (n-1).
(The explanation of this lemma is essentially given by the blue-eyed islander puzzle. However, it is essentially the crux of this problem and perhaps the hardest part to understand. I'll be happy to go into more detail, but I think the links provided above explain it far better than I probably could.)
Lemma: (Symmetry)
Everyone with the same color will leave the table at the same time.
31 people
2 blue, 2 green, 3 red, 5 brown, 6 yellow, 6 orange, 7 purple
The novice is wearing yellow, his sister is wearing orange.
All of the colors are arbitrary except for the reds in round 3 since that is explicitly mentioned.
Here is what happens on each ring:
1) 2 blues and 2 greens leave
2) 3 reds leave
3) no one leaves
4) 5 browns leave
5) 6 yellows and 6 oranges leave
6) 7 purples leave
Rounds 1 and 2 have already been thoroughly explained so no need to repeat. We know explicitly that no one leaves on round 3.
In round 4, we know that at least one person left, which implies that an entire group of 5 (or multiple groups of 5) must have left.
Since, the novice and his sister belong in two different groups, and since neither of them left in the last round, there must be a third group remaining.
Thus, in order for there to even be enough people to make up the 3 remaining groups (which each must be of size 6 or larger), only 5 (and not 10, 15, ...) could have left in the fourth round.
Thus, we are left with 19 people after round 4, which can only be split up into groups of 6, 6, and 7 (since each group must be larger than 6).
The novice and his sister must each belong to a different group of 6 since they do not leave in the last round.
Does that sound ok? I can provide some more explanation if anything is unclear.