1+2+3+....+x=500500
\Rightarrow\frac{x.\left(x+1\right)}{2}=500500⇒2x.(x+1)=500500
\Rightarrow\left(x+1\right).x=1001000=1000.1001⇒(x+1).x=1001000=1000.1001
\Leftrightarrow\left(x+1\right).x=\left(1000+1\right).1000⇔(x+1).x=(1000+1).1000
\Leftrightarrow x=1000⇔x=1000
Vậy x=1000x=1000