← Number theory

Is 2 a primitive root? Artin's conjecture

Write $1/7$ in decimal and you get $0.\overline{142857}$, a repeating block of length $6 = 7 - 1$, the longest possible. The same happens for $1/17$, $1/19$, $1/23$, $1/29$, $1/47$: the period of $1/p$ is the order of $10$ modulo $p$, and it equals $p - 1$ exactly when $10$ is a primitive root mod $p$, a generator of the cyclic group $(\mathbb{Z}/p\mathbb{Z})^\times$. Gauss asked whether there are infinitely many such primes. Two hundred years later nobody knows, for $10$, for $2$, or for any single integer.

The conjecture and the constant

In 1927 Emil Artin conjectured that every integer $a \ne -1$ that is not a perfect square is a primitive root modulo infinitely many primes, and he predicted their proportion. For $a = 2$ the prediction is Artin's constant $$A = \prod_{q \text{ prime}} \left(1 - \frac{1}{q(q-1)}\right) = 0.3739558136\ldots$$ The heuristic: $2$ fails to be a primitive root mod $p$ exactly when, for some prime $q$, $q \mid p - 1$ and $2$ is a $q$-th power mod $p$. For a "random" prime these events have probability $\frac{1}{q-1} \cdot \frac1q$ and are independent, which gives the product. The data agree: of the $78{,}497$ odd primes below $10^6$, exactly $29{,}341$ have $2$ as a primitive root, a proportion of $0.3738$. The first few are $$3,\ 5,\ 11,\ 13,\ 19,\ 29,\ 37,\ 53,\ 59,\ 61,\ 67,\ 83,\ 101,\ 107,\ \dots$$ The heuristic is subtler than it looks: for some $a$, such as $a = 5$, the events are not independent, because $\mathbb{Q}(\sqrt5)$ sits inside the cyclotomic field $\mathbb{Q}(\zeta_5)$. The Lehmers found in 1957 that the data for $a = 5$ disagreed with Artin's constant, and Heilbronn supplied the correction factor. Artin's original prediction needed fixing in exactly these cases.

What is known

In 1967 Christopher Hooley proved Artin's conjecture, with the correct density, assuming the generalised Riemann hypothesis for the Dedekind zeta functions of the fields $\mathbb{Q}(\zeta_q, 2^{1/q})$. Unconditionally, Gupta and Murty (1984) and then Heath-Brown (1986) showed that there are at most two primes $a$ for which the conjecture fails. So one of $2, 3, 5$ is a primitive root modulo infinitely many primes; we just cannot say which. It is a strange state of affairs: a theorem about three numbers, and no theorem about any one of them.

Full proof: testing for a primitive root, and why p ≡ ±1 mod 8 never works

Lemma 1. Let $p$ be prime and $p \nmid a$. Then $a$ is a primitive root mod $p$ if and only if $a^{(p-1)/q} \not\equiv 1 \pmod p$ for every prime $q \mid p - 1$.

Proof. The order $d$ of $a$ divides $p - 1$ by Fermat. If $d < p - 1$, pick a prime $q$ dividing $(p-1)/d$; then $d \mid (p-1)/q$ and $a^{(p-1)/q} \equiv 1$. Conversely if $a^{(p-1)/q} \equiv 1$ then $d \le (p-1)/q < p - 1$. $\square$

Lemma 2. If $p \equiv \pm 1 \pmod 8$, then $2$ is not a primitive root mod $p$.

Proof. By the second supplement to quadratic reciprocity, $2$ is a quadratic residue mod $p$ exactly when $p \equiv \pm1 \pmod 8$. Then Euler's criterion gives $2^{(p-1)/2} \equiv 1$, and Lemma 1 with $q = 2$ shows $2$ is not a primitive root. $\square$

So the primes with $2$ as a primitive root all lie in the classes $3$ and $5 \bmod 8$, half of all primes, and Artin's constant says roughly three quarters of those qualify. This is the factor $q = 2$ of the product: $1 - \frac{1}{2 \cdot 1} = \frac12$.

Further reading

  • P. Moree, Artin's primitive root conjecture: a survey, Integers 12 (2012).
  • C. Hooley, On Artin's conjecture, Journal für die reine und angewandte Mathematik 225 (1967).
  • D. R. Heath-Brown, Artin's conjecture for primitive roots, Quarterly Journal of Mathematics 37 (1986).