A farmer took a basket of eggs to the city to sell. The first time he sold half and one of the eggs in the basket, the second time he sold half and one of the remaining eggs, and the third time he sold the rest Half of the laid eggs and 1, at this time there is 1 egg left in the basket. How many eggs were there in the basket.
一位农民提了一篮鸡蛋去城里卖，第一次卖出篮子里鸡蛋的一半又1个，第二次又卖出剩下的鸡蛋的一半又1个，第三次又卖出剩下的鸡蛋的一半又1个，这时篮子里还剩下1个鸡蛋．篮子里原来有多少个鸡蛋．
<gadget id="calculator">1 + 1</gadget>
<output>2</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">2 / (1/2)</gadget>
<output>4</output>

<gadget id="calculator">4 + 1</gadget>
<output>5</output>

<gadget id="calculator">5 / (1/2)</gadget>
<output>10</output>

<gadget id="calculator">10 + 1</gadget>
<output>11</output>

<gadget id="calculator">11 / (1/2)</gadget>
<output>22</output>

<result>22</result>