In this paper, we give a sequence of numbers: 2, - 4,8, - 16,32... The sixth and seventh numbers are (); the nth number is ()

In this paper, we give a sequence of numbers: 2, - 4,8, - 16,32... The sixth and seventh numbers are (); the nth number is ()

solution
2=2^1
-4=-2²=(-1)×2²
8=2³=(-1)²×2³
-16=-2^4=(-1)³×2^4
32=2^5=(-1)^4×2^5
The sixth is 64
The seventh is 128
The nth is: (- 1) ^ (n-1) × 2 ^ n