The Egg Problem
Once upon a time there was a man who sold eggs for his livelyhood. One day he was going to sell those eggs and suddenly collide to a drunkardand all eggs were smashed.So he complaint to head of village and he asked him how many eggs were there.In response man replied,"I never count them but i know that when eggs were grouped in pairs 1 egg left behind. Simlarly for triplets ,2 were left behind and for four ,3 were left behind.For five,4 were left behind and for six ,5 were left behind. But when grouped in seven ,no egg is left behind. Also my egg basket cannot hold more than 150 eggs." So can you help him finding the number of eggs?