If Sn denotes the sum of first n terms of a non-constant A.P. whose first term is a and SnxSx is independent of x, then Sp is equal to