How many oranges?Number Theory Level pending
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?