Write the next term and write a re for the nth te