If they are of the same colour, a black ball from the pile is put into the box.

If they are of different colours, the white ball is put back into the box.

This procedure is repeated until the last pair of balls are removed from the box and one last ball is put in.

What is the probability that this last ball is white?

Source: Australian Olympiad 1983