30th terrm and 50th term of sequence 1,4,7,10 with solution