Ta có : 5 = 2x2 +1 11 = 3 x 3 + 2 19 = 4 x 4 + 3 29 = 5 x 5 + 4 => SH thứ 20 : 21 x 21 + 20 Ta có tổng: A = 2x2 +1+3 x 3 + 2 + 4 x 4 + 3 + 5 x 5 + 4+.....+ 21 x 21 + 20 A = 2 x ( 3 -1) + 3 x (4-1) + 4 x (5-1) + 5 x ( 6-1) + ......+ 21 x ( 22 - 1) + ( 1+2+3+4+.....+20) A = 2 x 3 + 3 x 4 + 4 x 5 + 5 x 6 +....+ 21 x 22 - ( 2 + 3 + 4+ 5 +....+21) -( 1+2+3+4+.....+20) A = 2 x 3 + 3 x 4 + 4 x 5 + 5 x 6 +....+ 21 x 22 - 20 Đặt :B= 2 x 3 + 3 x 4 + 4 x 5 + 5 x 6 +....+ 21 x 22 B x 3 = 2x3x3 + 3x4x3+ 4x5x3 + 5x6x3 +....+21x22x3 B x 3 = 2x3x(4-1) + 3x4x(5-2)+ 4x5x(6-3) + 5x6x(7-4) +....+21x22x(23-20) Bx3= 2x3x4 - 1x2x3 + 3x4x5 - 2x3x4 + 4x5x6 - 3x4x5 + 5x6x7 - 4x5x6 +....+ 21x22x23 - 20x21x22 B x 3 = 21x22x23 - 1x2x3 B x 3 = 10620 B = 3540 => A = 3540 -20 = 3520