cách tìm số số hạng và tổng của tất cả số đó
VD A=1+2+3+4+5+...+98+99+100
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
Bài 1.
\(B=1+2+3+\cdot\cdot\cdot+98+99\)
Số các số hạng trong \(B\) là:
\(\left(99-1\right):1+1=99\left(số\right)\)
Tổng \(B\) bằng: \(\left(99+1\right)\cdot99:2=4950\)
Bài 2.
\(A=1+3+5+\cdot\cdot\cdot+997+999\)
Số các số hạng trong \(A\) là:
\(\left(999-1\right):2+1=500\left(số\right)\)
Tổng \(A\) bằng: \(\left(999+1\right)\cdot500:2=250000\)
Bài 3.
\(C=2+4+6+\cdot\cdot\cdot+96+98\)
Số các số hạng trong \(C\) là:
\(\left(98-2\right):2+1=49\left(số\right)\)
Tổng \(C\) bằng: \(\left(98+2\right)\cdot49:2=2450\)
#\(Toru\)
=(1+98-99-100)+(2-3-4+5)+(6-7-8+9)+...+(95-96-97+98)
=-100+0+0+0+0+0..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
a) 1+(-2)+3+(-4)+..+19+(-20) {có 20-1+1=20(số hạng)}
= [1+(-2)]+[3+(-4)]+..+[19+(-20)] {có 20:2 = 10(tổng)}
=(-1)+(-1)+...+(-1) {có 10 số hạng}
=(-1).10
= -10
Số số hạng là 100-1+1=100 số
Tổng là (100+1)*100/2=5050