A closed form for the sum S=23+1+2232+1+⋯+2n+132n+1 is 1−an+b32n+c−1, where a, b, and c are integers. Find a+b+c.
a + b + c = 3 + 3 + 2 = 8.