Can someone prove that, $$7\space|\space 10^{(3+k)+6n}+3^k$$ $$i.e. 7 \space Divides \space 10^{(3+k)+6n}+3^k$$
$for$ $ all$ $k,n$ $\in$ $N_0$ $?$
ThanQ
Can someone prove that, $$7\space|\space 10^{(3+k)+6n}+3^k$$ $$i.e. 7 \space Divides \space 10^{(3+k)+6n}+3^k$$
$for$ $ all$ $k,n$ $\in$ $N_0$ $?$
ThanQ
Doing arithmetic modulo $\;7\;$ :
$$10^{3+k+6n}+3^k=3^{3+k+6n}+3^k=3^k\left(3^{3+6n}+1\right)=3^k\left(-3^{6n}+1\right)=3^k\left(-1^n+1\right)=0$$
You can also try induction on $\;n\;$ and for any $\;k\;$ ...
Note that:
$(10^{3+k+6n}+3^k)\bmod7=$
$((10\bmod7)^{3+k+6n}+3^k)\bmod7=$
$(3^{3+k+6n}+3^k)\bmod7=$
$(3^k\cdot(\color\green{3^{3+6n}+1}))\bmod7$
You can prove by induction that $7\mid\color\green{3^{3+6n}+1}$.
First, show that this is true for $n=0$:
$3^{3+6\cdot0}+1=28$
Second, assume that this is true for $n$:
$3^{3+6n}+1=7m$
Third, prove that this is true for $n+1$:
$3^{3+6(n+1)}+1=$
$3^{3+6n+6}+1=$
$3^{6+3+6n}+1=$
$3^{6}\cdot3^{3+6n}+1=$
$729\cdot3^{3+6n}+1=$
$729\cdot3^{3+6n}+729-728=$
$729\cdot(\color\red{3^{3+6n}+1})-728=$
$729\cdot\color\red{7m}-728=$
$7\cdot(729m-104)$
Please note that the assumption is used only in the part marked red.