a) Đặt A = 1.2 + 2.3 + ........ + (n-1)n
3A = 1.2.3 + 2.3.(4-1) + .... + (n-1)n[(n+1)-(n-2)]
3A = 1.2.3 + 2.3.4 - 1.2.3 + .... + (n-1)n(n+1) - (n-2)(n-1)n
3A = (1.2.3 - 1.2..3) + ... + (n-1)n(n+1)
A = \(\frac{\left(n-1\right)n\left(n+1\right)}{3}\)
b) Đặt B = 12 + 22 + ..... + n2
B = 1(2 - 1) + 2(3 - 1) + ..... + n[(n + 1) - 1]
B = 1.2 + 2.3 + .......... + n(n + 1) - (1+2+3+....+n)
B = A - \(\frac{n\left(n+1\right)}{2}\)