4.2.4 problem 28

Let be the indicator variable for the -th location, so that if -th location has a treasure and otherwise.

Let be number of locations William checks to get treasures, and be the number of treasures found within checked locations.

By symmetry. . Then,