1

Let $p$ be odd prime number, and $p\equiv 3\pmod 4$,Is there finite number of $p$ such $$\sum_{k=1}^{p-1}\left\{\dfrac{k^2}{p}\right\}=\dfrac{p-3}{2}?$$

where $\{x\}=x-[x]$

I known if $p\equiv 1\pmod 4$,then we have $\sum_{k=1}^{p-1}\left\{\dfrac{k^2}{p}\right\}=\dfrac{p-1}{2}$can see this 5-th Hong Kong Mathematical Olympiad 2002 problem and solution

Angina Seng
  • 161,540
math110
  • 94,932
  • 17
  • 148
  • 519

1 Answers1

1

For $p\ge 7$, this occurs iff the quadratic field $\Bbb Q(\sqrt{-p})$ has class number one. This is a consequence of the analytic class number formula. There are only a finite number of such fields. The largest $p$ for which this is true is $p=163$.

Angina Seng
  • 161,540