1
$\begingroup$

Possible Duplicate:
Primes P such that ((P-1)/2)!=1 mod P

Motivation comes from comments in this question, and it is interesting in its own right. These primes are sequence A055939 in OEIS.

So, which primes $p$ satisfy $p\\ |\\ (\frac{p-1}{2})! + 1$?

If my calculations (in sage) are correct, the following is true for all primes under 100,000. For $p > 3$: $$p\\ |\\ (\frac{p-1}{2})! + 1 \iff h(\sqrt{-p})=1 \mod{4}$$

$\endgroup$

marked as duplicate by Kevin Buzzard, Harald Hanche-Olsen, Robin Chapman, François G. Dorais Jul 2 '10 at 0:32

This question was marked as an exact duplicate of an existing question.

  • 1
    $\begingroup$ This is a duplicate of mathoverflow.net/questions/16141/… . Sorry Dror---I could have told you that earlier. $\endgroup$ – Kevin Buzzard Jul 1 '10 at 10:37
  • $\begingroup$ Perhaps it's time for the OEIS entry to be updated. $\endgroup$ – j.c. Jul 1 '10 at 18:03
  • $\begingroup$ Dror, does this mean that the Cohen-Lenstra Heuristics are relevant to my question? $\endgroup$ – François G. Dorais Jul 2 '10 at 18:01
  • $\begingroup$ Well, in a way. 1. From what I remember, in the original paper by Cohen and Lenstra there is no mention of congruences on the class number. 2. You also need the truth of the first Hardy-Littewood conjecture to pairs $(n, 2n-3)$. $\endgroup$ – Dror Speiser Jul 2 '10 at 18:34
4
$\begingroup$

Yes, this follows from the analytic class number formula. See http://www.math.niu.edu/~rusin/known-math/97/sign .

Added I have now found a reference. This is a theorem of Mordell:

L. J. Mordell, The congruence $(p - 1/2)! \equiv \pm 1 (\operatorname{mod} p)$, American Mathematical Monthly, 68 (1961), 145-146. http://www.jstor.org/stable/2312481

$\endgroup$
  • $\begingroup$ Yeah but it's still a duplicate, and furthermore this reference and many other things are in the other thread. The less gets added here, the better. $\endgroup$ – Kevin Buzzard Jul 1 '10 at 15:54
  • $\begingroup$ Ouch Kevin, I only just noticed this.... $\endgroup$ – Robin Chapman Jul 1 '10 at 16:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.