Ta có :
\(B=4+3^2+3^3+...+3^{2003}+3^{2004}\)
\(B=1+3+3^2+3^3+...+3^{2003}+3^{2004}\)
\(3B=3+3^2+3^3+...+3^{2004}+3^{2005}\)
\(3B-B=\left(3+3^2+3^3+...+3^{2004}+3^{2005}\right)-\left(1+3+3^2+...+3^{2003}+3^{2004}\right)\)
\(2B=3^{2005}-1\)
Vì : \(2B=3^{2005}-1< 3^{2005}=A\)
Nên \(B< A\) hay \(A>B\)
Vậy \(A>B\)
Chúc bạn học tốt ~