There are 60 terms in an A.P. of which the first term is 8 and the last term is 185. The 31st term is