a) \(A=2+2^2+2^3+...+2^{2017}\)
\(2A=2^2+2^3+2^4+...+2^{2018}\)
\(2A-A=\left(2^2+2^3+2^4+...+2^{2018}\right)-\left(2+2^2+2^3+...+2^{2017}\right)\)
\(A=2^{2018}-2\)
b) \(C=1+3^2+3^4+...+3^{2018}\)
\(3^2\cdot C=3^2+3^4+3^6+...+3^{2020}\)
\(9C-C=\left(3^2+3^4+3^6+...+3^{2020}\right)-\left(1+3^2+3^4+...+3^{2018}\right)\)
\(8C=3^{2020}-1\)
\(\Rightarrow C=\dfrac{3^{2020}-1}{8}\)
\(Toru\)