A=2+2^2+2^3+...+2^100
= (2+2^2+2^3+2^4)+...(2^97+2^98+2^99+2^100)
=2(1+2+2^2+2^3)+....+2^97(1+2+2^2+2^3)
= 2.15 +.....+2^97.15
=(2+....+2^97).15 chia hết cho 15
S = 21 + 22 + 23 + 24 + .... + 2100
S = ( 21 + 22 + 23 + 24 + .... + ( 297 + 298 + 299 + 2100 )
S = 2 . ( 1 + 2 + 4 + 8 ) +.... + 297 . ( 1 + 2 + 4 + 8 )
S = 2 . 15 + ... + 297 . 15
S = ( 2 + ... + 297 ) . 15
Mà 15 chia hết cho 15 suy ra S chia hết cho 15