3

I have that $$5\mid 8^n - 3^n$$

The first thing I tried is vía Induction:

It is true for $n = 1$, then I have to probe that it's true for $n = n+1$

$$5 \mid 8(8^n -3^n)$$ $$5 \mid 8^{n+1} -8\cdot3^n$$ $$5 \mid 3(8^{n+1} -8\cdot3^n)$$ $$5 \mid 3\cdot8^{n+1} -8\cdot3^{n+1}$$

After this, I don't know how to continue. Then I saw an example about a property: $$(a+b)^n = am + b ^ n$$ with $m = a + 2b$ or the number it represents.

$$5 \mid 8^n -3^n$$ $$5 \mid (5+3)^n -3^n)$$ $$5 \mid 5m + 3^n - 3^n)$$ $$5 \mid 5m$$

So, $d \mid a$ only if $a = kd$. From this I get that $5 \mid 5 m$.

My questions:

1) Is the exercise correct?

2) Could it have been resolved via method 1?

Thanks a lot.

JorgeeFG
  • 493
  • See http://math.stackexchange.com/questions/1423667/prove-by-induction-8n-3n-is-divisible-by-5-for-all-n-geq-1. – lhf Sep 28 '15 at 17:54

4 Answers4

8

Hint: Use the identity $$x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\cdots+y^{n-1}).$$

8

For induction, you have

$$\begin{align}8^{n+1} - 3^{n+1} &= 8\cdot 8^n - 3\cdot3^n\\&= 3(8^n - 3^n) + 5\cdot8^n\end{align}$$

Note that the first term must be divisible by $5$ because $8^n-3^n$ is divisie by $5$.

Yiyuan Lee
  • 14,435
5

Note that $8\equiv 3 \pmod5$, so that $8^n \equiv 3^n \pmod5$.

Therefore, $8^n - 3^n \equiv 3^n - 3^n \equiv 0 \pmod5$ so that $5|8^n - 3^n$.

3

By the binomial theorem, $8^n=(5+3)^n=5a+3^n$.

lhf
  • 216,483