\(S=2^1+2^2+2^3+2^4+2^5+2^6+..+2^{28}+2^{29}+2^{30}\)
\(S=2.\left(1+2+2^2\right)+2^4.\left(1+2+2^2\right)+...+2^{28}.\left(1+2+2^2\right)\)
\(S=\left(1+2+2^2\right).\left(2+2^4+...+2^{28}\right)\)
\(S=7.\left(2+2^4+...+2^{28}\right)\)
⇒ \(S⋮7\) ( điều phải chứng minh )
S=21+22+23+...+230
S=(21+22+23)+(24+25+26)+...+(228+229+230)
S=7.2+7.24+...+7.228
S=7.(2+24+...+228)
⇒S⋮7
Ta có: \(S=2^1+2^2+2^3+...+2^{28}+2^{29}+2^{30}\)
\(=2\left(1+2+2^2\right)+2^4\left(1+2+2^2\right)+...+2^{28}\left(1+2+2^2\right)\)
\(=7\cdot\left(2+2^4+...+2^{28}\right)⋮7\)