Show that the integer $111^{333} + 333^{111}$ is divisible by $7$.

 Example: Show that the integer $111^{333} + 333^{111}$ is divisible by $7$.

Answer: Firstly, we will find the remainder when $111^{333} $ and $ 333^{111}$ is divided by $7$. Then with help of property $4.$ of Theorem, we show that  the integer $111^{333} + 333^{111}$ is divisible by $39$.

We have $111 \equiv 6 ~(mod ~7)$ but $6 \equiv -1 ~(mod ~7) $. Therefore $111 \equiv -1 ~(mod ~7) $. By property $6.$ of Theorem, we have  $111^{2} \equiv 1 ~(mod ~7)$. We can write $333$ as $333 = 166 \cdot 2 + 1$. Therefore $111^{333} \equiv (111^{2})^{166} \cdot 111 \equiv 1^{166} \cdot 111 \equiv  6 ~(mod ~7)$, i.e. $111^{333} \equiv  6 ~(mod ~7)$. This gives that $6$ is a remainder when $111^{333}$ is divided by $7$.

We have $333 \equiv 4 ~(mod ~7)$.  By property $6.$ of Theorem, we have $333^2 \equiv 4^2 \equiv 2 ~(mod ~7)$. Again, with the help of property $6.$ of Theorem, we have  $(333^2)^3 = 333^6 \equiv 2^3 \equiv 1 ~(mod ~7)$. We can write $111$ as $111 = 18 \cdot 6 + 3$. Therefore $333^{111} \equiv (333^{6})^{18} \cdot 333^3 \equiv 1^{18} \cdot 333^3 \equiv  333^3 \equiv 4^3 \equiv 1 ~(mod ~7)$, i.e. $333^{111} \equiv  1 ~(mod ~7)$. This gives that $1$ is a remainder when $333^{111}$ is divided by $7$.

By property $4.$ of Theorem, we have $111^{333} + 333^{111} \equiv 6 + 1 \equiv 0 ~(mod ~ 7)$. This show that  $0$ is a remainder when the integer $111^{333} + 333^{111}$ is divided by $7$, i.e. the integer $111^{333} + 333^{111}$ is divisible by $7$.

Popular posts from this blog

Definition of divisibility and Theorem on divisibility

The Division Algorithm / Prove that given integers $a$ and $b$, with $b > ~ 0$, there exist unique integers $q$ and $r$ such that $a = b \cdot q +r$, where $0 \leq r < b$. The integer $q$ is called the $\textbf{quotient}$ and the integer $r$ is called $\textbf{remainder}$.

Define Greatest Common Divisor and Prove that if $a$ and $b$ are any integers, not both of them are zero. Then there exist integers $x$ and $y$ such that $gcd(a, b) =a \cdot x + b \cdot y$.