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$
4
  • 1
    $\begingroup$ This is a duplicate of mathoverflow.net/questions/16141/… . Sorry Dror---I could have told you that earlier. $\endgroup$ Commented Jul 1, 2010 at 10:37
  • $\begingroup$ Perhaps it's time for the OEIS entry to be updated. $\endgroup$
    – j.c.
    Commented Jul 1, 2010 at 18:03
  • $\begingroup$ Dror, does this mean that the Cohen-Lenstra Heuristics are relevant to my question? $\endgroup$ Commented Jul 2, 2010 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$ Commented Jul 2, 2010 at 18:34

1 Answer 1

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$
2
  • $\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$ Commented Jul 1, 2010 at 15:54
  • $\begingroup$ Ouch Kevin, I only just noticed this.... $\endgroup$ Commented Jul 1, 2010 at 16:43

Not the answer you're looking for? Browse other questions tagged .