We 'assume' that n is an integer. This means 2n is always an even integer.
The left hand side term is
Or if we read the left hand term differently as
The right hand term is
So in both interpretations of -1^2n the question has no solution for n.
Am I missing something here?