Đặt A=1+2+22+..............+22017
\(\Rightarrow\)2A =2+22+23+.............+22018
\(\Rightarrow\)2A -A = (2+22+23+............+22018) -(1+2+22 +...............+22017)
\(\Rightarrow\)A= 22018 -1
Lại có :A = ( 23 )672 .22 -1 =(7+1)672 .22 -1= ( B(7) +1).22 -1 =22 .B(7) +22-1=22 .B(7)+3
Vây A chia 7 dư 3