Let's start by putting this in simpler terms. Buying five dozen and seven bottles gives you 67 full bottles. Returning all 67 bottles later gives you one full bottle for every three empties. That's 67 divided by three, or 22 bottles with one empty remainder. Keep repeating this calculation with the empties to work out how many bottles the customer gets to drink.