\(A=3^{100}-3^{99}+3^{98}-3^{97}+...+3^2-3^1+1\)
=) \(3A=3.\left(3^{100}-3^{99}+3^{98}-3^{97}+...+3^2-3+1\right)\)
= \(3^{101}-3^{100}+3^{99}-3^{98}+...+3^3-3^2+3^1\)
=) \(3A+A=3^{101}-3^{100}+3^{99}-3^{98}+...+3^3-3^2+3^1+3^{100}-3^{99}\)
+ \(3^{98}-3^{97}+...+3^2-3^1+1\)
=) \(4A=3^{101}+1\)
=) \(A=\frac{3^{101}+1}{4}\)