((1+(1/3)+(1/9)+(1/27))/(1+(1/2)+(1/4)+(1/8))).
((1+(1/3)+(1/9)+(1/27))/(1+(1/2)+(1/4)+(1/8)))．
<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 / 9</gadget>
<output>1/9 = around 0.111111</output>

<gadget id="calculator">1 / 27</gadget>
<output>1/27 = around 0.037037</output>

<gadget id="calculator">1 + (1/3) + (1/9) + (1/27)</gadget>
<output>40/27 = around 1.481481</output>

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

<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">1 + (1/2) + (1/4) + (1/8)</gadget>
<output>15/8 = around 1.875</output>

<gadget id="calculator">(40/27) / (15/8)</gadget>
<output>64/81 = around 0.790123</output>

<result>64/81 = around 0.790123</result>