Spoiler for New Scientist Enigma 1695:

A set of snooker balls contains six coloured and 15 red balls. From such a set Harry took some coloured balls and a larger number of reds and put them in his bag. From the remainder Tom took some coloured balls and some reds (more of each than Harry took) and put them into his bag.

Each of them calculated that if he drew two balls at random out of his own bag simultaneously there was a 1 in X chance that they would both be coloured, X representing the same number for each person.

How many coloured balls and how many red balls from the set were not taken by either of them?

*Edited 12 May to correct an error right at the end.*

Pretty easy this week. I was a little taken aback by the word “simultaneously” but presumably that just means you don’t put one ball back before drawing the second. If there are *n _{c}* colored (excuse my spelling) balls and

*n*red balls totalling

_{r}*N*=

*n*+

_{c}*n*then the probability that both balls drawn are colored is (

_{r}*n*/

_{c}*N*)((

*n*–1)/(

_{c}*N*–1)) = (

*n*

_{c}^{2}–

*n*)/(

_{c}*N*

^{2}–

*N*). We just have to find two pairs of values for

*n*and

_{c}*N*consistent with the problem statement such that the probabilities are equal.

First of all, notice that Harry must have taken 2 colored balls. No fewer, partly because it says “balls”, plural, and partly because if he took fewer than 2, his probability of drawing 2 colored balls would be zero, which can’t be expressed as “a 1 in X chance”. But if he took 3 then Tom could not take more colored balls than Harry did. So Harry took 2, leaving 4, of which Tom took either 3 or all 4. (Harry also took some red balls — no more than 7, because Tom took more — making a total of *N _{H}*, and Tom took some of the rest, making a total of

*N*.)

_{T}That means Harry’s probability of drawing 2 colored balls is 2/(*N _{H}*

^{2}–

*N*) while Tom’s is 6/(

_{H}*N*

_{T}^{2}–

*N*) or 12/(

_{T}*N*

_{T}^{2}–

*N*). Either way it must be that

_{T}*N*

_{T}^{2}–

*N*is divisible by 3, since it’s either 3 or 6 times

_{T}*N*

_{H}^{2}–

*N*. This happens if

_{H}*N*equals 0 or 1 modulo 3.

_{T}*N*is at least 4 and no more than 18. So

_{T}*N*

_{T}^{2}–

*N*is 12, 30, 42, 72, 90, 132, 156, 210, 240, or 306. Of these the only one that is 3 times a number of the form

_{T}*N*

_{H}^{2}–

*N*is 90, and the only one that is 6 times a number of that form is 72. This means we have either

_{H}*N*= 10 and

_{T}*N*= 6, or

_{H}*N*= 9 and

_{T}*N*= 4. In the former case

_{H}*n*= 2,

_{cH}*n*= 4,

_{rH}*n*= 3,

_{cT}*n*= 7, and in the latter case

_{rT}*n*= 2,

_{cH}*n*= 2,

_{rH}*n*= 4,

_{cT}*n*= 5. But the second case violates the requirement that Harry took “a larger number of reds” (larger than the number of colored balls he took). So they took a total of 5 colored balls and 11 reds, leaving 1 colored and 4 red.

_{rT}
If NT = 10 how do you know that ncT = 4, nrT = 6? They could just as well be 3 and 7.

Thanks, I see my solution is a bit garbled. I’ll revise.

In fact it would have to be 3 and 7. If NT=10 then NT^2-NT = 3(NH^2-NH) which occurs if NcT=3. If NcT=4 then you have NT^2-NT=6(NH^2-NH), which is the second case (and is ruled out). I’ve fixed the error in the post.