Mình làm ngắn gọn nhé.
\(A=1+2+2^2+...+2^{50}\)
\(\Rightarrow2A=2+2^2+...+2^{51}\)
\(\Rightarrow2A-A=2+2^2+...+2^{51}-1-2-2^2-...-2^{50}\)
\(\Rightarrow A=2^{51}-1\)
\(B=1+3+...+3^{66}\)
\(3B=3+3^2+...+3^{67}\)
\(2B=3+3^2+...+3^{67}-1-3-...-3^{66}\)
\(2B=3^{67}-1\)
\(B=\frac{3^{67}-1}{2}\)