Raju’s father gave Raju 10 envelopes and 1000 gift coupons. He said to Raju, “Split all the coupons into the 10 envelopes in such a manner that no matter how many coupons I ask for (from 1 to 1000), you can give me one or more of the envelopes containing the exact number of coupons I ask for. If you can do this, you can keep the 1000 gift coupons." Raju found a way and arranged the envelopes in increasing order of the number of coupons inside them.
How many coupons are there in the envelope?
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.
Let the nine envelops with the coupons in increasing order is 1, 2, 4, 8, 16, 32, 64, 128, 256.(powers of 2)
Sum of coupons in nine envelops is 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 =511.
Using this nine envelops we can easily give coupons from 1 to 511 with one or more envelops.
Therefore, the number of coupons in the remaining envelop is 1000 - 511=489.
Hence the 10th envelop will have 489 coupons.