p\geq5
{2p-1\choosep-1}\equiv1\pmod{p3}
p\geq3
{ap\choosebp}\equiv{a\chooseb}\pmod{p3}
p\geq5
b=1
No known composite numbers satisfy Wolstenholme's theorem and it is conjectured that there are none (see below). A prime that satisfies the congruence modulo p4 is called a Wolstenholme prime (see below).
As Wolstenholme himself established, his theorem can also be expressed as a pair of congruences for (generalized) harmonic numbers:
1+{1\over2}+{1\over3}+...+{1\overp-1}\equiv0\pmod{p2},and
1+{1\over22}+{1\over32}+...+{1\over(p-1)2}\equiv0\pmodp.
See main article: Wolstenholme prime.
A prime p is called a Wolstenholme prime iff the following condition holds:
{{2p-1}\choose{p-1}}\equiv1\pmod{p4}.
If p is a Wolstenholme prime, then Glaisher's theorem holds modulo p4. The only known Wolstenholme primes so far are 16843 and 2124679 ; any other Wolstenholme prime must be greater than 109. This result is consistent with the heuristic argument that the residue modulo p4 is a pseudo-random multiple of p3. This heuristic predicts that the number of Wolstenholme primes between K and N is roughly ln ln N − ln ln K. The Wolstenholme condition has been checked up to 109, and the heuristic says that there should be roughly one Wolstenholme prime between 109 and 1024. A similar heuristic predicts that there are no "doubly Wolstenholme" primes, for which the congruence would hold modulo p5.
There is more than one way to prove Wolstenholme's theorem. Here is a proof that directly establishes Glaisher's version using both combinatorics and algebra.
For the moment let p be any prime, and let a and b be any non-negative integers. Then a set A with ap elements can be divided into a rings of length p, and the rings can be rotated separately. Thus, the a-fold direct sum of the cyclic group of order p acts on the set A, and by extension it acts on the set of subsets of size bp. Every orbit of this group action has pk elements, where k is the number of incomplete rings, i.e., if there are k rings that only partly intersect a subset B in the orbit. There are
style{a\chooseb}
{ap\choosebp}\equiv{a\chooseb}\pmod{p2}.
{ap\choosebp}\equiv{a\chooseb}+{a\choose2}\left({2p\choosep}-2\right){a-2\chooseb-1}\pmod{p3}.
Switching from combinatorics to algebra, both sides of this congruence are polynomials in a for each fixed value of b. The congruence therefore holds when a is any integer, positive or negative, provided that b is a fixed positive integer. In particular, if a=-1 and b=1, the congruence becomes
{-p\choosep}\equiv{-1\choose1}+{-1\choose2}\left({2p\choosep}-2\right)\pmod{p3}.
style{2p\choosep}
{-p\choosep}=
(-1)p | |
2{2p |
\choosep}.
3{2p\choosep}\equiv6\pmod{p3}.
A similar derivation modulo p4 establishes that
{ap\choosebp}\equiv{a\chooseb}\pmod{p4}
It is conjectured that ifwhen k=3, then n is prime. The conjecture can be understood by considering k = 1 and 2 as well as 3. When k = 1, Babbage's theorem implies that it holds for n = p2 for p an odd prime, while Wolstenholme's theorem implies that it holds for n = p3 for p > 3, and it holds for n = p4 if p is a Wolstenholme prime. When k = 2, it holds for n = p2 if p is a Wolstenholme prime. These three numbers, 4 = 22, 8 = 23, and 27 = 33 are not held for with k = 1, but all other prime square and prime cube are held for with k = 1. Only 5 other composite values (neither prime square nor prime cube) of n are known to hold for with k = 1, they are called Wolstenholme pseudoprimes, they are
27173, 2001341, 16024189487, 80478114820849201, 20378551049298456998947681, ...
The first three are not prime powers, the last two are 168434 and 21246794, 16843 and 2124679 are Wolstenholme primes . Besides, with an exception of 168432 and 21246792, no composites are known to hold for with k = 2, much less k = 3. Thus the conjecture is considered likely because Wolstenholme's congruence seems over-constrained and artificial for composite numbers. Moreover, if the congruence does hold for any particular n other than a prime or prime power, and any particular k, it does not imply that
{an\choosebn}\equiv{a\chooseb}\pmod{nk}.
x
O(x1/2log(log(x))499712)
499712
1012
1012
O(x1/2log(log(x))C)
C
C
499712
O(x1/2log(log(x))499712)
Leudesdorf has proved that for a positive integer n coprime to 6, the following congruence holds:[1]
n-1 | |
\sum | |
i=1\atop(i,n)=1 |
1 | |
i |
\equiv0\pmod{n2}.