If k+1,2k-1 and 3k+1 are three consecutive terms of a G.P , find the value of the common ratio

(2k-1)^2 = (k+1)(3k+1)

k = 8
so r = (2k-1)/(k+1) = 15/9 = 5/3