A trader was moving along the road with a basket full of eggs on top of his head. An idler walking on the road dashes the trader thereby breaking the eggs. He is asked by the trader to pay for his loss. Unfortunately, the trader does not know the number of eggs he had in his basket. But remembers the following ,
If counted in pairs, 1 remain
If counted in threes, 2 remain
If counted in fours, 3 remain
If counted in fives, 4 remain
If counted in sixes,5 remain
If counted in sevens, none remain
His basket cannot accomodate more than 150 eggs
What is number of eggs in the traders basket?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let x be the number of eggs. Note that x + 1 is a multiple of each of 2 , 3 , 4 , 5 , 6 ; so x + 1 is a multiple of 6 0 (the least common multiple of these numbers).
Also, x is a multiple of 7 , and x < 1 5 0 . It's easy to see from these constraints that the only possible solution is x = 1 1 9 .