Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    $\begingroup$ Your definition of $D_p$ does not require $p$ to be prime, but just odd and at least 3. The following more specific suggestion is based on data up to 400: for odd $n \geq 3$, $D_n \not= 0$ if and only if $n=7$, $n=25$, or or $n$ is a prime that's $1 \bmod 4$ other than $13$ ($D_7 = -1$, $D_{25} = 9$, and $D_{13} = 0$). $\endgroup$ Commented Nov 19, 2018 at 16:58
  • $\begingroup$ @KConrad: I've added a few words on this case into my answer. Generally, the only interesting case in this setup is $p\equiv1\pmod4$, and I think it should contain more counterexamples. Can you check that for larger $p$? $\endgroup$ Commented Nov 19, 2018 at 22:40
  • $\begingroup$ @IlyaBogdanov I asked Alvaro Lozano-Robledo to check primes $p \equiv 1 \bmod 4$ up to 2000 and he didn't find any example with $D_p = 0$ other than $p = 13$. $\endgroup$ Commented Nov 20, 2018 at 4:38
  • $\begingroup$ I've checked now up to 5000, and the only example is $p=13$. $\endgroup$ Commented Nov 20, 2018 at 5:53