I wanted to know if there is a way to prove that $y^{x-1}-1$ is divisible by $x$. Where $x$ is a prime number and is not equal to $y$, and $y$ is any positive whole number besides $1$. For example, $y=2$ and $x=13$ so $2^{13-1}-1$ is simplified to $4095$ which is divisible by $13$.
2026-03-31 12:22:31.1774959751
Why is $y^{x-1}-1$ divisible by $x$?
134 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
If you know some group theory this follows from the fact that the order a group element divides the group order: view $y$ as an element of the multiplicative group of units $(\mathbb{Z}/x\mathbb{Z})^*$. Since $x$ is prime, the latter has order $x-1$, whence $y^{x-1}\equiv 1$ mod $x$.