A wizard comes to a kingdom in famine.He cures it,and the king says,"How can I pay you back".The wizard replies,"I will come on a random day.You shall give me the amount of gold in grams where grams,g=the day of the month,d.To annoy you,please give me the gold in 5 pieces of gold or less".The King,as he is a fool,tries to be ready for any day instead of just doing the job when the wizard comes.How does the king do this?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We notice 2^5=32 and the maximum possible days in a month are 31.That means that it is trivial to conclude that the binary system written in decimal would be our answer.