The first and the last terms of an A.P. are 17 and 350 respectively. If the common difference is 9,

The first and the last terms of an A.P. are 17 and 350 respectively. If the common difference is 9,

The first and the last terms of an A.P. are 17 and 350 respectively. If the common difference is 9, how many terms are their in the A.P. and what is their sum ?