131 views
5 votes
Mary has some chocolates. If she shares them equally among 4 friends or 5 friends, there are always 2 extra chocolates left. What is the possible number of chocolates Mary could have?

User Issachar
by
3.5k points

1 Answer

2 votes

Answer:

22 chocolates

Explanation:

First, let x represent the number of chocolates Mary has. Since she always has 2 extra chocolates, the number of chocolates distributed to her friends would be x - 2. And x - 2 is the least common multiple of 4 and 5 because x - 2 chocolates are evenly distributed among 4 and 5 friends. The LCM of 4 and 5 is 20, so x - 2 is 20. Mary has 22 chocolates.

User Waltur Buerk
by
3.7k points