A=1+2+22+…+2100
2A=2(1+2+22+…+2100)
2A=2+22+…+2101
2A-A = A = 2+22+…+2101-(1+2+22+…+2100)
A = 2+22+…+2101-1-2-22-…-2100
A = (2-2)+(22-22)+…+(2100-2100)+2101-1
A = 0+0+…+0+2101-1
A = 2101-1
B=3-32+33-34+…+299-3100
3B = 3(3-32+33-34+…+299-3100)
3B = 32-33+34-…-299+3100-3101
3B+B = 4B = 3-32+33-34+…+299-3100
4B =(3-32+33-34+…+299-3100)+(32-33+34-…-299+3100-3101)
4B =3-32+33-34+…+299-3100+32-33+34-…-299+3100-3101
4B =3+(32-32)+(33-33)+(34-34)+…+(299-299)+(3100-3100)-3101
4B =3+0+0+0+....+0-3101
4B =3-3101
B = (3-3101)/4