Answer:

Step-by-step 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=\frac{n}{2}[2a_1+(n-1)d]](https://tex.z-dn.net/?f=S_n%3D%5Cfrac%7Bn%7D%7B2%7D%5B2a_1%2B%28n-1%29d%5D)
![5=\frac{5}{2}[2a_1+(5-1)d]](https://tex.z-dn.net/?f=5%3D%5Cfrac%7B5%7D%7B2%7D%5B2a_1%2B%285-1%29d%5D)
![5=2.5[2a_1+4d]](https://tex.z-dn.net/?f=5%3D2.5%5B2a_1%2B4d%5D)

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}=\frac{n}{2}[2a_1+(n-1)d]](https://tex.z-dn.net/?f=S_%7B50%7D%3D%5Cfrac%7Bn%7D%7B2%7D%5B2a_1%2B%28n-1%29d%5D)
![S_{50}=\frac{50}{2}[2(-5)+(50-1)3]](https://tex.z-dn.net/?f=S_%7B50%7D%3D%5Cfrac%7B50%7D%7B2%7D%5B2%28-5%29%2B%2850-1%293%5D)
![S_{50}=25[-10+(49)3]](https://tex.z-dn.net/?f=S_%7B50%7D%3D25%5B-10%2B%2849%293%5D)
![S_{50}=25[-10+147]](https://tex.z-dn.net/?f=S_%7B50%7D%3D25%5B-10%2B147%5D)
![S_{50}=25[137]](https://tex.z-dn.net/?f=S_%7B50%7D%3D25%5B137%5D)

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