A=1+3+32+33+....+333
3A=3+32+33+34+...+334
2A=3A-A=( 3+32+33+34+...+334 ) - ( 1+3+32+33+....+333 )
2A=334 - 1
A = \(\frac{3^{34}-1}{2}\)
B-A=\(\frac{3^{21}-3^{34}+1}{2}\)
=\(3^0+3^1+...+3^{33}\)
3A=\(3^1+3^2+....+3^{34}\)
3A-A=(\(3^1+3^2+....+3^{34}\))-(\(3^0+3^1+...+3^{33}\))
2A=3^34-1
A=(3^34-1):2
\(\frac{3^{21}}{2}-\frac{3^{24}}{2}\)