A problem by Anjali MLevel pending
Long ago there were 7 thieves. They went to a temple to rob . With great difficulty they got a box full of gold coins. They then escaped with the loot to the woods. They tied their legs together to make sure no one takes it all for themselves. early morning one guy got up and tried to untie himself, that woke up the next person. The two of them decided to distribute the coins equally among themselves. When did so there was one coin left and so had to woke up the third person to mitigate. Now they decided to distribute among the three, but still one coin was remaining. They continued waking and redistributing, but still one coin remained all the time till all the 7 woke up. After the seventh guy also got up, the coins got distributed equally. what would be the least number of gold coins in the box?