This is the question which I am referring to
Find the AP in which the ratio of the sum to n terms to the sum of succeeding n terms is independent of n.
What I have thought: we are talking about the following ratio $\frac{\frac{n}{2}[2a+(n-1)d]}{\frac{n}{2}[2(a+nd)+(n-1)d]}$ now for this ratio to be independent of $n$ i think $d=0$ but the solution of this answer is : $k,3k,5k... $ for any value of $k$ .I dont know how come this result came .Any help will be appreciated.
You are almost there. Slightly manipulating the ratio you have obtained gives
$$\frac{2a+(n-1)d}{2(a+nd)+(n-1)d}=\frac{2a-d+nd}{2a-d+3nd}$$
For this expression to be independent of $n$, you need to be able to cancel the $n$ in the nominator with the $n$ in the denominator. This happens exactly when $2a-d=0$.
This condition is equivalent to the desired result, which you can see by setting $d=2k$ (and thus $a=k$, giving the progression $k,3k,5k,\dots$).