$\sum_{k=0}^{n-1}(5^k)$ divide 13 only if $5^n-1$ divide 13, with n in $\mathbb{N*}$
I proved that $5^n$ is prime with 13 (n in $\mathbb{N}$)
we have: 13 divide $5^n$-1 $\Rightarrow (13 * \sum_{k=0}^{n-1}(5^k)$) divide $(5^n-1) * \sum_{k=0}^{n-1}(5^k)$
I tried to use Gauss lemma 13 divide $(5^n-1) * \sum_{k=0}^{n-1}(5^k)$ and 13 is prime with $5^n - 1$
$\Rightarrow$ 13 divide $\sum_{k=0}^{n-1}(5^k)$
the problem I dont have 13 is prime with ($5^n - 1$); I only have 13 is prime with $5^n$
Just another question, let's call that summation Un. $Un = \frac{(5^n-1)}{4}$, is this correct? I want to make sure from that so I can use Gauss Lemma: We have 13|($5^n-1$) then we have 13|4($5^n-1$) --> 13|(4Un). Using Gauss Lemme 13|(4*Un), 13 and 4 are prime between each other. -->then we have 13|Un
– Malek Gara-Hellal May 16 '21 at 19:21