How to prove that: $$ 8^{18}-1\equiv0\pmod7 $$ In the simplest way?
2026-03-26 08:04:23.1774512263
On
How to prove that $8^{18} - 1$ is divisible by $7$
3.5k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
2
On
Hint: $$ 8 \equiv 1 \mod 7\ \ \text{and}\ \ a^n \equiv b^n \mod m$$ Given any $a,b \in \mathbb{Z}, \ \ m > 1$ and $n \geq 1$ such that $a \equiv b \mod m$.
Yet another one: $a^{18}-b^{18}=(a-b)\left(a^{17}+a^{16}b+\cdots+ab^{16}+b^{17}\right) \ ,$ hence $$8^{18}-1=(8-1)\left(8^{17}+8^{16}+\cdots+8+1\right),\quad\text{which is a multiple of $7$.}$$