Problem
a) A mighty dragon has several rubies in his treasure. He is able to divide the rubies into groups of , or . How many rubies does he have, if we know that is fewer than ?
b) The same dragon also has some emeralds. He is emeralds short to be able to divide them into groups of , one emerald short to be able to divide them into groups of , but if he wants to divide them into groups of , he is left with one emerald. How many emeralds does he have if we know it is fewer than ?