Put Out

Stage: 5 Challenge Level: Challenge Level:3 Challenge Level:3 Challenge Level:3

bags
There are 5 yellow balls in bag 1. One ball is transferred to bag 2 which contains an unknown number of green balls.

Bag 2 is then shaken and a ball is selected at random and transferred to bag 1 without seeing its colour.

Bag 1 is then shaken and a ball is selected at random and transferred to bag 2 without seeing its colour.

Given all this has happened, the probability of selecting a green ball from bag 2 is now 3/5, so how many green balls were there in bag 2 at the outset?

Published September 1998.