a) x + [x + 1] + [x + 2] + ... + [x + 30] = 1240
=> 31 . x + (1 + 2 + 3 + 4 +...+ 29 + 30) = 1240
31 . x + 31.15 = 1240
31 . x = 1240 - 31.15
31 . x = 775
x = 775 : 31
x = 25
b) 1 + 2 + 3 + ... + x = 210
=< x . (x + 1) = 201 . 2
=> x . (x + 1) = 420
Vì 420 = 20 . 21 nên x = 20