I'm trying to type up a fairly annoying closed form, and I don't understand why it isn't letting me typeset it.
The equation is this:
$P_{n}=4\times\bigg(\dfrac{1}{2}\bigg)^{\big{\lfloor\frac{n+1}{2}\rfloor-1}}\times\bigg(2\bigg)^{\big{\frac{3-(-1)^{n}}{4}}}
When I place the \big
command in the first index (when raising half to the power of the floor function), it works just fine. But when I do exactly the same to the next index, it returns the Missing delimiter (. inserted). error.
I tried looking into what that error means, but only seemed to be able to find answers specific to particular pieces of code. From what I gathered, the code is telling me that I need to put a .
somewhere in order to nullify a delimiter, but I don't have any delimiters that need nullifying to my understanding; I need all of them!
Apologies for any un-neatness. This is only my second question and I'm still learning the TeX
language.
Thanks for your time and patience,
Eliot.