Wilson prime

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Wilson prime
Named after John Wilson
Publication year 1938[1]
Author of publication Emma Lehmer
Number of known terms 3
First terms 5, 13, 563
Largest known term 563
OEIS index A007540

A Wilson prime, named after English mathematician John Wilson, is a prime number p such that p2 divides (p − 1)! + 1, where "!" denotes the factorial function; compare this with Wilson's theorem, which states that every prime p divides (p − 1)! + 1.

The only known Wilson primes are 5, 13, and 563 (sequence A007540 in OEIS); if any others exist, they must be greater than 2×1013.[2] It has been conjectured that infinitely many Wilson primes exist, and that the number of Wilson primes in an interval [xy] is about log(log(y)/log(x)).[3]

Several computer searches have been done in the hope of finding new Wilson primes.[4][5][6] The Ibercivis distributed computing project includes a search for Wilson primes.[7] Another search is coordinated at the mersenneforum.[8]

Generalizations

Wilson primes of order n

Wilson's theorem can be expressed in general as (n-1)!(p-n)!=(-1)^n\ \bmod p for every prime p \le n. Generalized Wilson primes of order n are the primes p such that p^2 divides (n-1)!(p-n)! - (-1)^n.

It was conjectured that for every natural number n, there are infinitely many Wilson primes of order n.

n prime p such that p^2 divides (n-1)!(p-n)! - (-1)^n OEIS sequence
1 5, 13, 563, ... A007540
2 2, 3, 11, 107, 4931, ... A079853
3 7, ...
4 10429, ...
5 5, 7, 47, ...
6 11, ...
7 17, ...
8 ...
9 541, ...
10 11, 1109, ...
11 17, 2713, ...
12 ...
13 13, ...
14 ...
15 349, ...
16 31, ...
17 61, 251, 479, ... A152413
18 13151527, ...
19 71, ...
20 59, 499, ...
21 217369, ...
22 ...
23 ...
24 47, 3163, ...
25 ...
26 97579, ...
27 53, ...
28 347, ...
29 ...
30 137, 1109, 5179, ...

Least generalized Wilson number of order n are

5, 2, 7, 10429, 5, 11, 17, ... (The next term > 1.4×107) (sequence A128666 in OEIS)

Near-Wilson primes

A prime p satisfying the congruence (p − 1)! ≡ − 1 + Bp mod p2 with small | B | can be called a near-Wilson prime. Near-Wilson primes with B = 0 represent Wilson primes. The following table lists all such primes with | B | ≤ 100 from 106 up to 4×1011:[2]

Wilson numbers

A Wilson number is a natural number n such that W(n) ≡ 0 (mod n2), where W(n) = \left(\prod_{1<=k<=n,gcd(k,n)=1}{k}\right)+e, the constant e = 1 if and only if n have a primitive root, otherwise, e = -1. For every natural number n, W(n) is divisible by n, and the quotients (called generalized Wilson quotients) are listed in OEISA157249. The Wilson numbers are

1, 5, 13, 563, 5971, 558771, 1964215, 8121909, 12326713, 23025711, 26921605, 341569806, 399292158, ... (sequence A157250 in OEIS)

If a Wilson number n is prime, then n is a Wilson prime. There are 13 Wilson numbers up to 5×108.[9]

See also

Notes

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 A Search for Wilson primes Retrieved on November 2, 2012.
  3. The Prime Glossary: Wilson prime
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. A search for Wieferich and Wilson primes, p 443
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Ibercivis site
  8. Distributed search for Wilson primes (at mersenneforum.org)
  9. Lua error in package.lua at line 80: module 'strict' not found.

References

  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.

External links