How do you write the nth term rule for the sequence #1/2,3,11/2,8,21/2,...#?