\(S=2+7+12+17+....+402+407+502\)
Đặt 502 ra ngoài ta có :
\(S=502+\left[2+7+12+.....+402+407\right]\)
\(S=502+\left[\frac{\left(407+2\right).\left[\left(407-2\right):5+1\right]}{2}\right]\)
\(S=502+\left[\frac{409.82}{2}\right]\)
\(S=502+16769\)
\(\Rightarrow S=17271\)
brrrrrrrrrrrrr