Candy Distribution
Kids like candies, so much that they start beating each other if the candies are not fairly distributed. So on your next party, you better start thinking before you buy the candies. If there are K K kids, we of course need K ⋅ X K⋅X candies for a fair distribution, where X X is a positive natural number. But we learned that always at least one kid looses one candy, so better be prepared with exactly one spare candy, resulting in ( K ⋅ X ) + 1 (K⋅X)+1 candies. Usually, the candies are packed into bags with a fixed number of candies C C. We will buy some of these bags so that the above