How do you write the expression for the nth term of the geometric sequence #a_1=4, r=1/2, n=10#?