The value of d (common difference) of an A.P. such that the three consecutive terms of an A.P. are the consecutive terms of the G.P. (a is the first term of the A.P)
d = 0
Let the three consecutive terms of A.P. be a, a+d, a+2d
(a)(a+2d)=(a+d)2
d=0