A gentleman decided to treat a few children in the following manner. He gives half of his total stock of toffees and one extra to the first child, and then the half of the remaining stock along with one extra to the second and continues giving away in this fashion. His total stock exhausts after he takes care of 5 children. How many toffees were there in his stock initially?
Explanation:
Giving chocolates to 5th child: Let the man be left with x chocolates after 4th child. Now he gives half of x i.e., x/2 chocolates to 5th child. Hence, he will be left with x/2 chocolates. The man again gives 1 chocolate to 5th child and is now left with no chocolates. ∴ x/2 – 1 = 0 ⇒ x = 2
Giving chocolates to 4th child: Now, let the man be left with y chocolates after 3rd child. Now he gives half of y i.e., y/2 chocolates to 4th child. Hence, he will be left with y/2 chocolates. The man again gives 1 chocolate to 4th child and is now left with 2 chocolates. ∴ y/2 – 1 = 2 ⇒ y = 6
Giving chocolates to 3rd child: Now, let the man be left with z chocolates after 2nd child. ∴ z/2 – 1 = 6 ⇒ y = 14
Giving chocolates to 2nd child: Now, let the man be left with a chocolates after 1st child. ∴ a/2 – 1 = 14 ⇒ y = 30
Giving chocolates to 1st child: Now, let the man have c chocolates in the beginning. ∴ c/2 – 1 = 30 ⇒ y = 62
Hence, 62.
» Your doubt will be displayed only after approval.
Help us build a Free and Comprehensive Preparation portal for various competitive exams by providing us your valuable feedback about Apti4All and how it can be improved.