[Tex/LaTex] How would one have an equation for an exponent


How can I write 2^((n-1)/3) or anything similar in LaTeX? I am new to the whole thing, but I tried giving it a shot and it doesn't look the way I want it too. It looks like I am taking the 2 to the power of parenthesis, which is silly.

Best Answer

Just to give a little closure...

Depends on what you want. As egreg said, you can go by


...or you could also try using \frac{numerator}{denominator}, as in