\(B=5+5^2+5^3+...+5^{88}+5^{89}+5^{90}\)
\(=\left(5+5^2+5^3\right)+\left(5^4+5^5+5^6\right)+...+\left(5^{88}+5^{89}+5^{90}\right)\)
\(=5\left(1+5+5^2\right)+5^4\left(1+5+5^2\right)+...+5^{88}\left(1+5+5^2\right)\)
\(=31\left(5+5^4+...+5^{88}\right)⋮31\)