a)A=1+22+24+...+214+216
2A=2(1+22+24+...+214+216)
2A=2+23+25+...+215+217
2A-A=(2+23+25+...+215+217)-(1+22+24+...+214+216)
1A=(217-1)/1
A=217-1
b)B=1-3+32-33+...-32015+32017
3B=3(1-3+32-33+...-32015+32017)
3B=3-32+33-...-32016+32017)
Mà B=1-3+32-33+...-32015+32017
=>3B-B=1+22017
=>4B=1+32016
=>B=(1+32017)/4