B=3+32+33+...+3100
3B=3.(3+32+33+...+3100)
3B=32+33+34+...+3100+3101
3B-B= 3101-3
Hay 2B=3101-1
B=(3101-1):2
Vậy B=(3101-1):2
Ta có : 3B = 3x(3+3^2+3^3+....+3^99+3^100) = 3^2+3^3+3^4+....+3^100+3^101
Ta lại có
3B = 3^2+3^3+3^4+....+3^100+3^101
-
B = 3^2+3^3+3^4+....+3^100+3
2B = 3^101 - 3
=> B = (3^101 - 3)/2