Mark plants some strawberries in his backyard. Every month, the number of strawberry plants doubles. After 3 months, Mark digs up 4 strawberry plants and gives them to his friend.  If he still has 20 strawberry plants, how many did he initially plant?
First, add the 4 plants Mark gave away to the 20 he has left: 4 + 20 = 
<gadget id="calculator">4+20</gadget>
<output>24</output>
24.
Then divide this number by 2 to find how many plants Mark had after two months: 24 / 2 = 
<gadget id="calculator">24/2</gadget>
<output>12</output>
12.
Then divide that number by 2 to find how many plants Mark had after one month: 12 / 2 = 
<gadget id="calculator">6</gadget>
<output>6</output>
6.
Finally, divide that number by 2 to find out how many plants Mark initially planted: 6 / 2 = 
<gadget id="calculator">6/2</gadget>
<output>3</output>
3.

<result>3</result>