A man had 1000 pebbles. These pebbles where given to him by his son for safe custody. The man planned to keep the pebbles in 10 bags and mark the number of pebbles in it, on the bag. He wants to fill the 10 bags so that if his sons asks for any number of pebbles randomly from 1 to 1000, he can return without opening the bags. How can the man arrange the number of pebbles in each bag to meet the requirement?
No. of pebbles may be arranged in the order 1,2,4,8,16,32,64,128,256,489
ReplyDelete