I have copied this riddle from the Facebook status of my friend Prakash Govind...

Special Note: If you succeed in solving this one, well and good; but in case, you don't, just leave a comment, and I will mail the answer to you...

A group of seven thieves burgled the king's palace, and managed to steal a bag full of gold coins...

Two of the thieves ran faster, and reached their den before their accomplices, and thought of sharing the coins between themselves... But when they tried to divide the total coins into two parts, one coin remained...

In the meanwhile, the third thief reached there, and understood immediately what's happening... He asked to divide the loot into three parts, and when they tried doing that, one coin remained this time too...

Fourth thief also arrived, and demanded the same, but unfortunately, when they divided the coins in four parts, one coin remained this time too...

Very surprisingly, they tried dividing the coins into five parts, when the fifth of their partner reached to the den, and into six parts, when the sixth one came, but both the times, one coin remained...

At last, the seventh thief came, and divided gold coins into seven parts, and lo, coins were equally divided...

Now, can you guys tell me, at least how many gold coins were there in the bag...?