Let $p$ a natural number greater than $5$, $H$ a subgroup of $(\mathbb Z/p\mathbb Z)^*$.
Is it true that : if $a\in H$ with $a>2$ and $c=-\frac{1}{p} \mod a$
then $(a−1)|\sum \limits_{h\in H} p(h\times c \mod a)$ ?
Source : les dattes à Dattier
Let $p$ a natural number greater than $5$, $H$ a subgroup of $(\mathbb Z/p\mathbb Z)^*$.
Is it true that : if $a\in H$ with $a>2$ and $c=-\frac{1}{p} \mod a$
then $(a−1)|\sum \limits_{h\in H} p(h\times c \mod a)$ ?
Source : les dattes à Dattier
Since $a \in H$, the mapping $h \mapsto (ah \text{ mod } p)$ is a permutation on $H$. We write this map as
$$ (ah \text{ mod } p) = ah - \lfloor ah/p\rfloor p. $$
Now let $S$ denote the sum in question. Using the fact that $(x \text{ mod } a) = (y \text{ mod } a) $ whenever $x \equiv y \pmod{a}$, we can write
\begin{align*} S = \sum_{h \in H} p (hc \text{ mod } a) &= \sum_{h \in H} p ((ah \text{ mod } p)c \text{ mod } a) \\ &= \sum_{h \in H} p (( ah - \lfloor ah/p\rfloor p)c \text{ mod } a) \\ &= \sum_{h \in H} p (\lfloor ah/p\rfloor \text{ mod } a). \end{align*}
But since $0 \leq \lfloor ah/p \rfloor < a $, it follows that $(\lfloor ah/p\rfloor \text{ mod } a) = \lfloor ah/p\rfloor$. Plugging this back,
$$S = \sum_{h \in H} p \lfloor ah/p\rfloor = \sum_{h \in H} ah - \sum_{h \in H} (ah \text{ mod } p). $$
Utilizing the permutation $h \mapsto (ah \text{ mod } p)$ again, this simplifies to
$$S = (a-1)\sum_{h\in H} h $$
and therefore the claim follows.