Q.2) There are 5 bunglars who went to bakery to rob it. The first robber me it
the total beard and a bread. The second robber again ate of the remaining
bread and a x bread. The 3rd 4th and 5th robber did the same thing. After the
robber there is no bread left. How many bread were there in total?
a)31 b)37 c)23 d)41
Answers
Answer:
First we create a general rule for amount of bread left when each burglar leaves
Lets assume we have x no of bread
At every step x/2 + 1/2 bread is eaten by the burglar
Therefore after each step compared to previous step we have [x-(x/2 + 1/2)] = x/2 - 1/2 bread left.
Now let us go to the problem
Now after 5th burglar leaves we have 0 bread left
Hence number of bread after 4th burglar leaves (or before 5th burglar enters) is calculated by
x/2 - 1/2 = 0
Therefore x = 1
Similarly after 4th burglar leaves we have 1 bread left
Hence number of bread after 3th burglar leaves (or before 4th burglar enters) is calculated by
x/2 - 1/2 = 1
Therefore x = 3
Similarly after 3rd burglar leaves we have 3 bread left
Hence number of bread after 2nd burglar leaves (or before 3rd burglar enters) is calculated by
x/2 - 1/2 = 3
Therefore x = 7
Similarly after 2nd burglar leaves we have 7 bread left
Hence number of bread after 1st burglar leaves (or before 2nd burglar enters) is calculated by
x/2 - 1/2 = 7
Therefore x = 15
Similarly after 1st burglar leaves we have 15 bread left
Hence number of bread before 1st burglar enters is calculated by
x/2 - 1/2 = 15
Therefore x = 31·····························Ans
Step-by-step explanation:
Please mark me brilliant