N is a positive integer, find the n power of (+ 1) and the n power of + (- 1) divided by 2

N is a positive integer, find the n power of (+ 1) and the n power of + (- 1) divided by 2

There are two cases, when n is odd, then the original formula = (1-1) △ 2 = 0
When n is even, then the original formula = (1 + 1) △ 2 = 1