7 thieves robbed a bag full of diamonds.
2 of them divided diamonds but at last 1 diamond was left.
so they called one more thief, 3 of them divided diamonds but one diamond was left.
likewise, one diamond remained undivided when diamonds was divided between 4,5,6 thieves. But when the seventh thief came , all the diamonds got divided among all the thieves equally.
find no. of diamonds...( each time when diamonds were been divided, then each thief got equal number of diamonds. eg. if 17 were divided among 4 thieves then each of them got equal no. of diamonds i.e.4 and 1 was left out as REMAINDER.)