How to prove, using recursion, that for every natural n:$$5^n - 2^n$$ can be divided by 3.
2026-05-15 17:25:28.1778865928
On
prove that for every natural n, $5^n - 2^n$, can be divided by 3
188 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
6
There are 6 best solutions below
0
On
Since $5\equiv 2\pmod 3$, you get $5^n\equiv 2^n\pmod 3$.
Or use the binomial formulas $$ A^n-B^n=(A-B)(A^{n-1}+A^{n-2}B+…+B^{n-1}) $$
Or use the binomial theorem $$ 5^n=(2+3)^n=2^n+n2^{n-1}·3+\binom n2 2^{n-2}·3^2+…+3^n $$
Thus, the number $5^n-2^n$ is divisible by $3$ for $n=1$
assume for $n=k$, the number $5^n-2^n$ is divisible by $3$ then $$\color{blue}{5^k-2^k=}\color{blue}{3m}$$ where, $m$ is some integer
setting $n=k+1$, $$5^{k+1}-2^{k+1}=5\cdot 5^k-2\cdot 2^k$$ $$=5\cdot 5^k-5\cdot 2^k+3\cdot 2^k$$ $$=5(\color{blue}{5^k-2^k})+3\cdot 2^k$$ $$=5(\color{blue}{3m})+3\cdot 2^k$$ $$=3(5m+2^k)$$ since, $(5m+2^k)$ is an integer hence, the above number $3(5m+2^k)$ is divisible by $3$
Hence, $5^n-2^n$ is divisible by $3$ for all integers $n\ge 1$