nth term and sum of arithmetic progression