Left to Solve
Problems / MathOverflow (not formalized)

Why $\gcd \{ {\rm ord}_p(q)\colon q\mid p-1 \}$ likes to be large?

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty56/100

Statement

For a prime , let denote the greatest common divisor of the orders modulo of all prime divisors of : thus, for instance, , , , and is a divisor of for all .

There exist primes with , the smallest of them being , , and . The strange thing is, there are rather few such primes; say, out of the 78,497 odd primes up to , there are only 86 primes with . Is there any explanation to this phenomenon?

Generally, tends to be large. The following histogram presents the "density function" of the quantity , for all primes :

(source)

As the histogram shows, there are almost no primes with , and for the vast majority of primes we actually have . This can also be read from the "cumulative distribution function":

(source)

Both plots behave rather enigmatically, but my major question is:

Why is "normally" that large? Why holds that rarely?

In case it matters, I am actually interested in the situation where …

Posed by Seva · nt.number-theory, prime-numbers

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-185683.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-185683.lean

import Mathlib

/-!
# Why $\gcd \{ {\rm ord}_p(q)\colon q\mid p-1 \}$ likes to be large?

Source: https://mathoverflow.net/questions/185683
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_185683

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_185683