# How do you get a formula of the nth term for this sequence: 1, 1/2, 3, 1/4, 5, 1/6...?

Use alternating positive and negative exponents on $- 1$ will cause the value to "flip" every other term:
${a}_{n} = {n}^{{\left(- 1\right)}^{n + 1}}$