sum from n = 2 to 8 of (4^n - 2*2^n + 1)