add trapezoidal numbers