There are between 50 and 60 eggs in a basket. When mohammed counts by 3's,there are 2 eggs left over. When he counts by 5's there are 4 left over. How many eggs are there in basket?
N mod 3 == 2
N mod 5 == 4, solve for N
LCM{3, 5} ==15
N ==15c + 14, where c ==0, 1, 2, 3........etc.
Since the number of eggs is between 50 and 60, then we have:
[15 *3 + 14] ==59 eggs