a) A = 20 + 21 + 22 + ... + 22015
A = 1 + 2 + 22 + ... + 22015
2A = 2.(1 + 2 + 22 + ... + 22015)
2A = 2 + 22 + 23 + ... + 22016
2A - A = (2 + 22 + 23 + ... + 22016 ) - (1 + 2 + 22 + ... + 22015)
A = 1 + 22016
b B = 1 + 31 + 32 + ... + 3200
3B = 3.(1 + 31 + 32 + ... + 3200)
3B = 3 + 32 + 33 + ... + 3201
3B - B = (3 + 32 + 33 + ... + 3201 ) - (1 + 31 + 32 + ... + 3200)
2B = 1 + 3201
B = \(\frac{1+3^{201}}{2}\)