In a sequence of $4 n+1$ terms, the first $2 n+1$ terms are in A.P. having common difference 2 and the last $2 n+1$ terms are in G.P. having common ratio $\frac{1}{2}$, If the middle term of the A.P. is equal to the middle term of the G.P. then the middle term of the sequence is
(A) $\frac{n \cdot 2^{n+1}}{2^{n}+1}$
(B) $\frac{n \cdot 2^{n+1}}{2^{n}-1}$
(C) $\frac{n \cdot 2^{n}}{2^{n}-1}$
(D) None of these