Is Erdős Problem #694 solved?
Yes. erdosproblems.com lists it as solved (Lean) (their entry updated 6 May 2026).
The problem
erdosproblems.com/694 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(f_\max(n)\) be the largest \(m\) such that \(\phi(m) = n\), and \(f_\min(n)\) be the smallest such \(m\), where \(\phi\) is Euler's totient function. Investigate $$ \max_{n\leq x}\frac{f_\max(n)}{f_\min(n)}. $$
GPT-5.5 Pro (prompted by Price) has proved (see also the comments for a summary) that $$ \max_{n\leq x}\frac{f_{\max}(n)}{f_{\min}(n)}=(e^\gamma+o(1))\log\log x. $$
A Lean formalisation of the reduction exists, conditional on Mertens' product theorem and Linnik's theorem; see the formal proof.
The extrema are only required on nonempty fibres of the totient (values such as \(3\) have no preimage), and the identity is asked for sufficiently large \(x\): at \(x = 1\) the maximum is \(f_\max(1) / f_\min(1) = 2\) while \(\log \log 1 = 0\).
In Lean:
theorem erdos_694 : ∀ᵉ (fmax : ℕ → ℕ) (fmin : ℕ → ℕ),
(∀ n, (∃ m, Nat.totient m = n) → IsGreatest (Nat.totient ⁻¹' {n}) (fmax n)) →
(∀ n, (∃ m, Nat.totient m = n) → IsLeast (Nat.totient ⁻¹' {n}) (fmin n)) →
∃ o : ℕ → ℝ, Tendsto o atTop (𝓝 0) ∧
∀ᶠ x : ℕ in atTop,
sSup { (fmax n : ℝ) / fmin n | (n : ℕ) (_ : n ≤ x) (_ : ∃ m, Nat.totient m = n) } =
(exp eulerMascheroniConstant + o x) * log (log (x : ℝ))Stated in Lean
in the atlas →3 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos694.erdos_694solved upstreamtheorem erdos_694 : ∀ᵉ (fmax : ℕ → ℕ) (fmin : ℕ → ℕ), (∀ n, (∃ m, Nat.totient m = n) → IsGreatest (Nat.totient ⁻¹' {n}) (fmax n)) → (∀ n, (∃ m, Nat.totient m = n) → IsLeast (Nat.totient ⁻¹' {n}) (fmin n)) → ∃ o : ℕ → ℝ, Tendsto o atTop (𝓝 0) ∧ ∀ᶠ x : ℕ in atTop, sSup { (fmax n : ℝ) / fmin n | (n : ℕ) (_ : n ≤ x) (_ : ∃ m, Nat.totient m = n) } = (exp eulerMascheroniConstant + o x) * log (log (x : ℝ))Erdos694.erdos_694.variants.carmichaelopentheorem erdos_694.variants.carmichael : ∃ n > 0, ∃! m, Nat.totient m = nProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F694%23Erdos694.erdos_694.variants.carmichaelErdos694.erdos_694.variants.inf_uniquesolved upstreamtheorem erdos_694.variants.inf_unique (h : ∃ n > 0, ∃! m, Nat.totient m = n) : { n | ∃! m, Nat.totient m = n }.Infinite