Ta có:B=\(2+2^2+...........+2^{30}\)
\(=\left(2+2^2+2^3+2^4+2^5+2^6\right)+.........+\left(2^{25}+2^{26}+2^{27}+2^{28}+2^{29}+2^{30}\right)\)
\(=2\left(1+2+2^2+2^3+2^4+2^5\right)+.........+2^{25}\left(1+2+2^2+2^3+2^4+2^5\right)\)
\(=2.63+2^7.63+........+2^{25}.63\)
\(=\left(2+2^7+...+2^{25}\right).63\) chia hết cho 21