\(B=1+3+3^2+3^3+3^4+...+3^{98}+3^{99}\)
\(=>B=\left(1+3\right)+\left(3^2+3^3\right)+\left(3^4+3^5\right)+...+\left(3^{98}+3^{99}\right)\)
\(=>B=1.4+3^2.\left(1+3\right)+3^4.\left(1+3\right)+...+3^{98}.\left(1+3\right)\)
\(=>B=1.4+3^2.4+3^4.4+...+3^{98}.4\)
\(=>B=\left(1+3^2+3^4+...+3^{98}\right).4\)
=>B⋮4