Seven Robbers loot the bank and hide the coins at a deserted factory.
They decide to divide the money equally next morning. Two greedy robbers decided to cheat the others and reach the factory at night. They equally divided the coins between them, one coin left. So they called another robber and then they decided to divide equally among three. Sadly again one coin left. Same thing happened for 4th 5th and the 6th robber.
However when 7th robber reached in the morning, they are able to divide the coins equally.

How many coins were there in total?

301 Coins

The remainder of 301/2 , 301/3 , 301/4 , 301/5 & 301/6 is one but 301 is perfectly divided by 7.