This question was asked in Ex 9.1,1

an =4n-3; a17,a24

Lakshdeep Singh's image