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?
it is an odd number because dividing by 2 leaves 1
it is a multiple of 3 + 2
and an even multiple of 7 7 14 21 28 35 42 49 56 63 70 77 84 91 98 105 112 119 126 133 140 147
so for the above rules I have written so far 35 77 119 fit the bill so far
divide by 4 to find which leaves 3 remainder : 119