input 1 output -2

input 2 output 8
input 3 output -32
input 4 output 128

what is the rule? please help.