ta có \(A=999993^{1999}-555557^{1997}\\ =\left(999993^{499}\right)^4.999993^3-\left(555557^{499}\right)^4.555557\\ =\left(...1\right)^4.\left(...7\right)-\left(...1\right)^4.\left(...7\right)\\ =\left(...1\right).\left(...7\right)-\left(...1\right).\left(...7\right)\\ =\left(...7\right)-\left(...7\right)=\left(...0\right)\)
vì A có tận cùng bằng 0 nên A chia hết cho 5 (đpcm)