The correct option is A 87
Let a and d be the first term and the common difference of the given AP respectively. Then,
a6=19⇒a+5d=19 ...(1)
a17=41⇒a+16d=41 ...(2)
On subtracting (2) from (1), we get
11d=22⇒d=2
Putting d=2 in (1), we get
a=19−5×2=9
Now, a40=a+39d=9+39×2=87