Problem 6.4. On her birthday, Katya treated her classmates with candies. After giving out some candies, she noticed that she had 10 more candies left than Artem received. After that, she gave everyone one more candy, and it turned out that all the children in the class (including Katya) had the same number of candies. How many classmates does Katya have?
Answer: 9.

Solution. Initially, the number of candies Kati and Artyom had differed by 10. When Kati gave everyone one more candy, the number of candies Artyom had increased by 1, and the number of candies Kati had decreased by the number of her classmates, and they ended up with the same amount. This means that 10 is the number of her classmates plus 1. Therefore, Kati has 9 classmates.