\(\overline{abcd}=a.1000+b.100+c.10+d\)
\(=1000a+96b+8c+\left(d+2c+4b\right)\)
Ta có:
\(1000a=8.125.a⋮8\)
\(96b=8.12.b⋮8\)
\(8c=8.1.c⋮8\)
\(d+2c+4b⋮8\)
\(\Rightarrow a.1000+b.100+c.10+d⋮8\)
\(\Rightarrow\overline{abcd}⋮8\)
Vậy nếu \(d+2c+4b⋮8\) thì \(\overline{abcd}⋮8\) (Đpcm)