Which wife flirts with which husband? Which towel goes home with which kid? Is there an order to the chaos of the human heart? A math whiz tries to make sense of the incalculable equations of summer.By RON CARLSON