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 + 1) . x : 2=210
x . (x + 1) = 420
x . x + x = 420
x . x = 420 - x
Ta thấy:
20 . 20 = 420 - 20
Vậy x = 20