1 / 2, - 3 / 4,7 / 8, - 15 / 16,31 / 32 what is the number 2010 of this sequence? What is the number n?

1 / 2, - 3 / 4,7 / 8, - 15 / 16,31 / 32 what is the number 2010 of this sequence? What is the number n?

According to the meaning of the title, we can get an = (- 1) ^ (n + 1) × (2 ^ n-1) / 2 ^ n, so A2010 = - (2 ^ 2010-1) / 2 ^ 2010