Let an A.P. and a G.P. each consist of positive terms. Their k-th terms are equal, and additionally the (2k)-th term of the A.P. equals the (k+2)-th term of the G.P.
a. (i) Show that the common ratio r (0<r<1) of the G.P. and the integer k are related by rk+2−2rk+1=0.
b. (ii) If r=21, determine all positive integers k for which such sequences can exist, and justify your conclusion.