Given:
The first two terms in an arithmetic progression are -2 and 5.
The last term in the progression is the only number in the progression that is greater than 200.
To find:
The sum of all the terms in the progression.
Solution:
We have,
First term :

Common difference :



nth term of an A.P. is

where, a is first term and d is common difference.

According to the equation,
.



Divide both sides by 7.

Add 1 on both sides.

So, least possible integer value is 30. It means, A.P. has 30 term.
Sum of n terms of an A.P. is
![S_n=(n)/(2)[2a+(n-1)d]](https://img.qammunity.org/2021/formulas/mathematics/high-school/nbbqumcy0s5kebc4qw68eqqy1qlvhszlv2.png)
Substituting n=30, a=-2 and d=7, we get
![S_(30)=(30)/(2)[2(-2)+(30-1)7]](https://img.qammunity.org/2021/formulas/mathematics/high-school/b1idwgiuocypxmtyvocyx4vlvz3q0809ob.png)
![S_(30)=15[-4+(29)7]](https://img.qammunity.org/2021/formulas/mathematics/high-school/9aosg1mj7cpcbrq0cjld9gc09vt7wyg2ip.png)
![S_(30)=15[-4+203]](https://img.qammunity.org/2021/formulas/mathematics/high-school/4yf8fuuy8zccmz7rrkuq3brzfquna5iuvu.png)


Therefore, the sum of all the terms in the progression is 2985.