Show that \[ 2222^{5555} + 5555^{2222} \] is divisible by 7
I feel like I should wait for someone else to try before me...
not sure
what if you choose 2222+5555
then 2222^2+5555^2 and keep the exponent going up and see if it is divisible by 7 at all times?
Hint: Use Fermat' Little Theorem. For every prime p and every n \[ n^p - n \] is divisible by p
I was just going to do this the more direct way. We can easily find that \[2222\equiv3\pmod7\]\[5555\equiv5\pmod6\]\[5555\equiv4\pmod7\]\[2222\equiv 2\pmod6\]Hence using Fermat's Little theorem, we have that\[2222^{5555}\equiv3^5\equiv5 \pmod7\]\[5555^{2222}\equiv 4^2\equiv 2\pmod7\]So if we sum them together, \[2222^{5555}+5555^{2222}\equiv5+2\equiv0\pmod7\]Hence, it's divisible by 7.
Join our real-time social learning platform and learn together with your friends!