The circuit diagram shown in the figure consist of a large number of elements (each element has two resistors R1 and R2). The resistance of the resistors in each subsequent element differs by a factor of k=1/2 from the resistance of the resistors in previous elements. Find the equivalent resistance between A and B.