Answer:

Explanation:
We have been that the 16th term of an A.P. is 40 and the sum of the first 5 terms is 5.
We will use arithmetic sequence formula and arithmetic sequence sum formula to solve our given problem.
Sequence formula:
, where,
n = Number of terms in a sequence,
d = Common difference.

Sum formula:
![S_n=(n)/(2)[2a_1+(n-1)d]](https://img.qammunity.org/2020/formulas/mathematics/college/kg1kij2ef5kxyn93fewgc1gp4ekobv6ywz.png)
![5=(5)/(2)[2a_1+(5-1)d]](https://img.qammunity.org/2020/formulas/mathematics/college/yqezysth2a30swlooz7te5ti0arry3scoa.png)
![5=2.5[2a_1+4d]](https://img.qammunity.org/2020/formulas/mathematics/college/yh0kdrflkbzh8v89h5kag9snw5z1kd7uig.png)

Now, we have two unknown and two equations. From equation (1), we will get:
Substitute this value in equation (2).







Substitute
in equation (1):
Use sum formula to find sum of first 50 terms:
![S_(50)=(n)/(2)[2a_1+(n-1)d]](https://img.qammunity.org/2020/formulas/mathematics/college/v8qrthjfjm07nyyml85jw8hnamo4sp262x.png)
![S_(50)=(50)/(2)[2(-5)+(50-1)3]](https://img.qammunity.org/2020/formulas/mathematics/college/5adlhde4audjym7ot179xrxemwe75os5tr.png)
![S_(50)=25[-10+(49)3]](https://img.qammunity.org/2020/formulas/mathematics/college/eg03lfrbgrl19okg1y8qixrjaf8f3zh2fx.png)
![S_(50)=25[-10+147]](https://img.qammunity.org/2020/formulas/mathematics/college/r5w9pcirsnu960dummre1xb6eeorjngo0e.png)
![S_(50)=25[137]](https://img.qammunity.org/2020/formulas/mathematics/college/iugo68e71e4evc1lsnh6ebsb9x4g60h2z5.png)

Therefore, the sum of first 50 terms of the given sequence would be 3425.