If sn denotes the sum of first n terms of an A.P., whose common difference is d, then sn - 2sn−1 + sn−2 (n>2) is equal to