S = 1.2 + 2.3 + 3.4 + ... + 38.39 + 39.40
3S = 1.2.(3-0) + 2.3.(4-1) + 3.4.(5-2) + ... + 38.39.(40-37) + 39.40.(41-38)
3S = 1.2.3 - 0.1.2 + 2.3.4 - 1.2.3 + 3.4.5 - 2.3.4 + ... + 39.39.40 - 37.38.39 + 39.40.41 - 38.39.40
3S = 39.40.41
S = 13.40.41
S = 21320