Lời giải:
a)
Ta có:
\(1991\equiv 1\pmod {10}\Rightarrow 1991^{1997}\equiv 1^{1997}\equiv 1\pmod {10}(1)\)
\(1997\equiv 7\pmod {10}\Rightarrow 1997^{1996}\equiv 7^{1996}\pmod {10}(2)\)
Mà \(7^2\equiv -1\pmod {10}\Rightarrow 7^{1996}\equiv (-1)^{998}\equiv 1\pmod {10}(3)\)
Từ \((1);(2);(3)\Rightarrow 1991^{1997}-1997^{1996}\equiv 1-1\equiv 0\pmod {10}\) (đpcm)
b)
\(2^9+2^{99}=2^9(1+2^{90})\)
Ta thấy $2^{10}=1024\equiv -1\pmod {25}$
$\Rightarrow 2^{90}\equiv (-1)^9\equiv -1\pmod {25}$
$\Rightarrow 1+2^{90}\equiv 0\pmod {25}$ hay $1+2^{90}\vdots 25$
Mà $2^9\vdots 4$
Do đó:
$2^9+2^{99}=2^9(1+2^{90})\vdots 100$ (đpcm)