Ta có : B = 1.1 + 2.2 + 3.3 + ... + 1999.1999
= 1.(2 - 1) + 2.(3 - 1) + 3(4 - 1) + ... + 1999(2000 - 1)
= (1.2 + 2.3 + 3.4 + ... + 1999.2000) - (1 + 2 + 3 + .... + 1999)
Đặt A = 1.2 + 2.3 + 3.4 + ... + 1999.2000
=> 3A = 1.2.3 + 2.3.3 + 3.4.3 + ... + 1999.2000.3
= 1.2.3 + 2.3.(4 - 1) + 3.4.(5 - 2) + .... + 1999.2000.(2001 - 1998)
= 1.2.3 + 2.3.4 - 1.2.3 + 3.4.5 - 2.3.4 + .... + 1999.2000.2001 - 1998.1999.2000
= 1999.2000.2001
=> A = 1999.2000.2001/3
Khi đó B = A - (1 + 2 + 3 + .... + 1999)
= 1999.2000.2001/3 - 1999.(1999 + 1)/2
= 1999.2000.667 - 1999.1000
= 1999.(2000.667 - 1000)
= 1999 . 1 333 000
Vậy B = 1999 . 1333000