b: \(S=2\left(1+2+2^2+2^3\right)+...+2^{2007}\left(1+2+2^2+2^3\right)\)
\(=30\left(2+...+2^{2007}\right)⋮30\)
S = 2 + 22 + 23 + .... + 22010
S = ( 2 + 22 ) + ( 23 +24 ) +... + ( 22009 + 22010 )
S = 2 . ( 1 + 2) + 23 . (1 + 2 ) + ...+ 22009 . ( 1 + 2 )
S = 2 . 3 + 23 . 3 + ... + 22009 . 3
S = 3 . ( 2 + 23 + ... + 22009)
Vì 3 chia hết cho 3
=> S chia hết cho 3