The correct option is B 40
For an AP series, we know that the sum of the first n terms is given by;
Sum=n2[First term+Last term]
We are given that sum = 400 and [First term+Last term]=20
On substituting the values, we see that
400=n2×20
On further simplification, we get
20=n2
Therefore, n=40.