Ta có: S = 1.2 + 2.3 + 3.4 +.....+ 37.38 + 38.39
=> 3S = 1.2.(3 - 0) + 2.3.(4 - 1) + .... + 37.38.(39 - 36) + 38.39.(40 - 37)
=> 3S = 1.2.3 - 1.2.3 + 2.3.4 - 2.3.4 + .... + 38.39.40
=> 3S = 38.39.40
=> S = 38.39.40 / 3
=> S = 19760
3s=1*2*3+2*3*3+....+37*38*3+38*39*3
3S=1*2*(3-0) + 2*3*(4-1) + ...+37*38*(39-36) + 38*39*(40-37)
3S=1*2*3-1*2*0 + 2*3*4-1*2*3 + ...+38*39*40-37*38*39
3s=37*37*39-1*2*0
3S=37*38*39=54834
S=18278