Here is a graph for the first few primes vs sum. prime vs sum
2026-04-17 13:30:26.1776432626
Why is that for $x = \frac{\sum_{n=1}^{(p-1)} n}{p}$, where $p$ is a prime number, $x$ is always a positive integer?
35 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
$$\sum_{n=1}^{p-1}n=1+2+3+...+(p-1)=\frac{p(p-1)}{2}$$
thus, your sum will become $$x=\frac{p-1}{2}=\frac{\phi(p)}{2}$$
where $n \mapsto \phi(n) $ is the Euler totient function.