PearlsAlgebra Level pending
Seven friends lost each other in a jungle. After some time one of them found a bag of pearls. He was very happy. But suddenly one of his friend arrived. They both agreed to divide the pearls between themselves. After division, one pearl resulted in extra. At this moment their third friend arrived, and they again distributed all the pearls among themselves. But again one pearl left. Similarly when the fourth, fifth and sixth friend arrived, the result was still one pearl left. At last when their seventh friend met them, this time all the pearls were distributed equally. Find the minimum numbers of pearls in the bag.