You have to distribute these lemons in these 10 bags in any way you choose.

But when I ask for a certain number of lemons you have to give them in terms of bags without transferring the lemons from other bags.

How do you distribute the lemons?

at
10:41 PM

You have 1023 lemons and 10 bags.

You have to distribute these lemons in these 10 bags in any way you choose.

But when I ask for a certain number of lemons you have to give them in terms of bags without transferring the lemons from other bags.

How do you distribute the lemons?

####
Click here for Answer

Starting with 1 lemon in a bag, each bag contains double the number of lemons as the previous bag. ie 1,2,4,8,16,32,64,128,256,512. That way whatever number of lemons I would ask for, you would just add up the bags to equal the number asked.

You have to distribute these lemons in these 10 bags in any way you choose.

But when I ask for a certain number of lemons you have to give them in terms of bags without transferring the lemons from other bags.

How do you distribute the lemons?