sum from k=1 to 7 of 2^k. (Resp: 254)