Ta có:
\(4\left(1+5+5^2+...+5^9\right)=5\left(1+5+5^2+...+5^9\right)-\left(1+5+5^2+...+5^9\right)\)
\(=5+5^2+5^3+...+5^{10}-1-5-5^2-...-5^9\)
\(=5^{10}-1+\left(5-5\right)+\left(5^2-5^5\right)+..+\left(5^9-5^9\right)\)
\(=5^{10}-1\)
=> \(1+5+5^2+...+5^9=\frac{5^{10}-1}{4}\)
Tương tự: \(1+5+5^2+...+5^8=\frac{5^9-1}{4}\)
\(1+3+3^2+...+3^9=\frac{3^{10}-1}{2}\)
\(1+3+3^2+...+3^8=\frac{3^9-1}{2}\)
=> \(A=\frac{5^{10}-1}{5^9-1}>\frac{5^{10}-1}{5^9}=5-\frac{1}{5^9}>4;\)
\(B=\frac{3^{10}-1}{3^9-1}< \frac{3^{10}}{3^9-1}=3+\frac{3}{3^9-1}< 4;\)
=> A > B.