3S=1x2x3+2x3x3+...+39x40x3
3S=1x2x(3-0)+2x3x(4-1)+...+39x40x(41-38)
3S=1x2x4-1x2x0+2x3x4-2x3x1+.....+39x40x41-38x39x40
3S=39x40x41
S=39x40x41:3
S=13x40x41
S=21320
S = 1 x 2 + 2 x 3 + 3 x 4 + ... + 39 x 40
S = 2 + 6 + 12 + ... + 1560
Sau đó tự làm nhé !