a) Ta có: \(A=1+3+3^2+...+3^{99}+3^{100}\)
=> \(3A=3+3^2+3^3+...+3^{100}+3^{101}\)
=> \(3A-A=\left(3+3^2+...+3^{101}\right)-\left(1+3+...+3^{100}\right)\)
<=> \(2A=3^{101}-1\)
=> \(A=\frac{3^{101}-1}{2}\)
b) Ta có: \(B=1+4+4^2+...+4^{100}\)
=> \(4B=4+4^2+4^3+...+4^{101}\)
=> \(4B-B=\left(4+4^2+...+4^{101}\right)-\left(1+4+...+4^{100}\right)\)
<=> \(3B=4^{101}-1\)
=> \(B=\frac{4^{101}-1}{3}\)