Friday puzzle -- how many cookies?
Alex Y
My wife and I hosted a pot-luck cookie party. We sent invitations to about 50 people, with instructions to bring a specific number of their favorite home-made cookies.
We know that some of the people we invited were unable to come, and at least one forgot his cookies. In fact, Sam apologized to me for forgetting his cookies, but said that when he arrived, my wife said that was okay, since we already had about 20 sets of cookies from those who arrived before him, with still more likely to come.
After everyone had arrived, we put the cookies (all 1,287 of them) in a big basket, mixed them up, and distributed them equally to everyone in attendance, whether they remembered to bring their cookies or not. (There were no broken cookies; everyone got the same number of whole cookies.)
How many cookies did each person get?