Once upon a time, in a far away kingdom, there lived a king who was a mathematician. He wanted to find a suitable friend with whom to discuss mathematics. He invited the best mathematicians in his kingdom to come and solve some riddles that he posed to them. The first one of these was to determine which of the above two boxes has the gold.
Can you solve it?
Solution is here