{
  "id": "1967",
  "ident": "NS.01967",
  "slug": "erdos-391",
  "title": "Erdős Problem 391",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $t(n)$ be maximal such that there is a representation\n$$n!=a_1\\cdots a_n$$\nwith $t(n)=a_1\\leq \\cdots \\leq a_n$. Obtain good bounds for $t(n)/n$. In particular, is it true\nthat\n$$\\lim \\frac{t(n)}{n}=\\frac{1}{e}?$$\n\nIt is easy to see that $\\lim \\frac{t(n)}{n}\\leq \\frac{1}{e}$. Erdős [Er96b] wrote he, Selfridge,\nand Straus had proved a corresponding lower bound, so that $\\lim \\frac{t(n)}{n}=\\frac{1}{e}$, and\n'believed that Straus had written up our proof. Unfortunately Straus suddenly died and no trace\nwas ever found of his notes. Furthermore, we never could reconstruct our proof, so our assertion\nnow can be called only a conjecture.'\n\nAlladi and Grinstead [AlGr77] have obtained similar results when the $a_i$ are restricted to\nprime powers.\n\nBoth questions were answered by Alexeev, Conway, Rosenfeld, Sutherland, Tao, Uhr, and Ventullo\n[ACRSTUV25], who proved that\n$$\\frac{t(n)}{n}= \\frac{1}{e}-\\frac{c_0}{\\log n}+O\\left(\\frac{1}{(\\log n)^{1+c}}\\right),$$\nwhere $c_0=0.3044\\cdots$ is an explicit constant, for some $c>0$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos391.erdos_391",
  "statement_lean": "theorem erdos_391 :\n    Tendsto (fun n : ℕ => (t n : ℝ) / n) atTop (𝓝 (1 / Real.exp 1))",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 391\n\n*References:*\n- [erdosproblems.com/391](https://www.erdosproblems.com/391)\n- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number\n  theory*. Monographies de L'Enseignement Mathematique (1980).\n- [Er96b] Erdős, Paul, *Some problems I presented or planned to present in my short talk*.\n  Analytic number theory, Vol. 1 (Allerton Park, IL, 1995) (1996), 333-335.\n- [AlGr77] Alladi, Krishnaswami and Grinstead, Charles, *On the decomposition of $n!$ into prime\n  powers*. J. Number Theory (1977), 452-458.\n- [ACRSTUV25] B. Alexeev, E. Conway, M. Rosenfeld, A. Sutherland, T. Tao, M. Uhr, and K.\n  Ventullo, *Decomposing a factorial into large factors*. arXiv:2503.20170 (2025).\n-/\n\n@[expose] public section\n\nopen Filter Topology\n\nnamespace Erdos391\n\n/-- `t n` is the largest `t` such that `n!` is a product of `n` factors all at least `t`,\ni.e. the maximal $a_1$ in a representation $n! = a_1 \\cdots a_n$ with $a_1 \\leq \\cdots \\leq a_n$. -/\nnoncomputable def t (n : ℕ) : ℕ :=\n  sSup {k : ℕ | ∃ a : Fin n → ℕ, ∏ i, a i = n.factorial ∧ ∀ i, k ≤ a i}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $t(n)$ be maximal such that there is a representation\n$$n!=a_1\\cdots a_n$$\nwith $t(n)=a_1\\leq \\cdots \\leq a_n$. Obtain good bounds for $t(n)/n$. In particular, is it true\nthat\n$$\\lim \\frac{t(n)}{n}=\\frac{1}{e}?$$\n\nIt is easy to see that $\\lim \\frac{t(n)}{n}\\leq \\frac{1}{e}$. Erdős [Er96b] wrote he, Selfridge,\nand Straus had proved a corresponding lower bound, so that $\\lim \\frac{t(n)}{n}=\\frac{1}{e}$, and\n'believed that Straus had written up our proof. Unfortunately Straus suddenly died and no trace\nwas ever found of his notes. Furthermore, we never could reconstruct our proof, so our assertion\nnow can be called only a conjecture.'\n\nAlladi and Grinstead [AlGr77] have obtained similar results when the $a_i$ are restricted to\nprime powers.\n\nBoth questions were answered by Alexeev, Conway, Rosenfeld, Sutherland, Tao, Uhr, and Ventullo\n[ACRSTUV25], who proved that\n$$\\frac{t(n)}{n}= \\frac{1}{e}-\\frac{c_0}{\\log n}+O\\left(\\frac{1}{(\\log n)^{1+c}}\\right),$$\nwhere $c_0=0.3044\\cdots$ is an explicit constant, for some $c>0$.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos391.lean#L4924\"]\ntheorem erdos_391 :\n    Tendsto (fun n : ℕ => (t n : ℝ) / n) atTop (𝓝 (1 / Real.exp 1)) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFurthermore, does there exist some constant $c>0$ such that\n$$\\frac{t(n)}{n} \\leq \\frac{1}{e}-\\frac{c}{\\log n}$$\nfor infinitely many $n$?\n\nThis was answered in the affirmative by Alexeev, Conway, Rosenfeld, Sutherland, Tao, Uhr, and\nVentullo [ACRSTUV25].\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos391.lean#L4924\"]\ntheorem erdos_391.variants.deficit : ∃ c : ℝ, 0 < c ∧\n    {n : ℕ | (t n : ℝ) / n ≤ 1 / Real.exp 1 - c / Real.log n}.Infinite := by\n  sorry\n\nend Erdos391\n",
  "statement_hash": "ef08a2d07bfd5bd9148eaa998a28deff14fc8dab02c3ca42f9bd9ef55138b2c0",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}