What was the weights of the 5 rings ?

Take a break and solve this puzzle..

A king asks a learned man to visit his palace.
The man says I will come any day next month.
But give me gold in gms equal to the date on which I come.
The king asks the jeweler to make rings of 1 to 31 gms.
The jeweler was smart and makes only 5 rings.
What was the weights of those rings?

Click here for Answer

The 5 rings will weigh 1,2,4,8,16 gms