find the common difference.