A fruit seller goes to the Raja to deliver his oranges. On his way, there are 7 gates and 7 guards guarding them. He gives half of his oranges to the 1st guard and gets back one from him. He repeats this for the rest of the guards,too. Finally, when he reaches the Raja, he has 2 oranges left. How many oranges did he originally bring?
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.
Reverse engineer! The number of oranges is operated upon by two operations - Divide by 2 and add of 1, 7 times.
Now, reverse this process for the remaining no. of oranges, ie, Subtract 1 and Multiply by 2
Therefore, no. of oranges = [ ( ( ( ( ( 2 − 1 ) × 2 ) − 1 ) × 2 ) − 1 ) × 2 ] … 7 times.
After each iteration, the result is 2 . Hence the answer.