S = \(\left(2+2^2\right)+\left(2^3+2^4\right)+\left(2^5+2^6\right)+\left(2^7+2^8\right)\)
\(=6.2^0+6.2^2+6.2^4+6.2^6=6.\left(2^0+2^2+2^4+2^8\right)\)
Chia hết cho 6
=> S = ( 2 + 22 ) + ( 23 + 24 ) + ( 25 + 26 ) + ( 27 + 28 )
=> S = 1.( 2 + 22 ) + 22.( 2 + 22 ) + 24.( 2 + 22 ) + 26.( 2 + 22 )
=> S = 1.( 2 + 4 ) + 22.( 2 + 4 ) + 24.( 2 + 4 ) + 26.( 2 + 4 )
=> S = 1.6 + 22.6 + 24.6 + 26.6
=> S = 6.( 1 + 22 + 24 + 26 )
Vì 6 ⋮ ( - 6 ) nên 6.( 1 + 22 + 24 + 26 ) ⋮ ( - 6 )
Vậy S ⋮ ( - 6 ) ( đpcm )