{
  "id": "828",
  "ident": "NS.00828",
  "slug": "erdos-1162",
  "title": "Erdős Problem 1162",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Give an asymptotic formula for the number of subgroups of $S_n$. Is there a statistical theorem\non their order?\n\nA problem of Erdős and Turán [Va99, 5.73]. We state the first question: `erdos_1162.answer` is a\nfunction asymptotically equivalent to the number $f(n)$ of subgroups of $S_n$ (an explicit\nformula is intended, not $f$ itself). The second question is too vague to state.",
  "subjects": [
    "math.CO",
    "math.GR",
    "msc:05",
    "msc:20"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1162.erdos_1162",
  "statement_lean": "theorem erdos_1162 :\n    (fun n : ℕ ↦ (f n : ℝ)) ~[atTop] erdos_1162.answer",
  "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 1162\n\n*References:*\n- [erdosproblems.com/1162](https://www.erdosproblems.com/1162)\n- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference\n  \"Paul Erdős and his mathematics\", Budapest, July 1999 (1999).\n- [Py93] Pyber, L., *Asymptotic results for permutation groups*. Groups and computation\n  (New Brunswick, NJ, 1991), DIMACS Ser. Discrete Math. Theoret. Comput. Sci. 11 (1993),\n  197-219.\n- [RoTr25] Roney-Dougal, C. M. and Tracey, G., *Subgroups of symmetric groups: enumeration and\n  asymptotic properties*. [arXiv:2503.05416](https://arxiv.org/abs/2503.05416) (2025).\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\n\nnamespace Erdos1162\n\n/-- `f n` is the number of subgroups of the symmetric group $S_n$, realised as\n`Equiv.Perm (Fin n)`. All subgroups are counted, not only conjugacy classes. -/\nnoncomputable def f (n : ℕ) : ℕ := Nat.card (Subgroup (Equiv.Perm (Fin n)))\n\n/-- `f n` is positive. In particular `Real.log (f n)` is not the junk value `Real.log 0`. -/\n@[category API, AMS 5 20]\ntheorem f_pos (n : ℕ) : 0 < f n := by\n  unfold f\n  exact Nat.card_pos\n\ndef erdos_1162.answer : ℕ → ℝ := sorry\n\n/--\nGive an asymptotic formula for the number of subgroups of $S_n$. Is there a statistical theorem\non their order?\n\nA problem of Erdős and Turán [Va99, 5.73]. We state the first question: `erdos_1162.answer` is a\nfunction asymptotically equivalent to the number $f(n)$ of subgroups of $S_n$ (an explicit\nformula is intended, not $f$ itself). The second question is too vague to state.\n-/\n@[category research open, question value, AMS 5 20]\ntheorem erdos_1162 :\n    (fun n : ℕ ↦ (f n : ℝ)) ~[atTop] erdos_1162.answer := by\n  sorry\n\n/--\nPyber [Py93] proved that\n$$\\log f(n)\\asymp n^2.$$\n-/\n@[category research solved, AMS 5 20]\ntheorem erdos_1162.variants.pyber :\n    (fun n : ℕ ↦ Real.log (f n : ℝ)) =Θ[atTop] fun n : ℕ ↦ (n : ℝ) ^ 2 := by\n  sorry\n\n/--\nRoney-Dougal and Tracey [RoTr25] have proved that\n$$\\log f(n)=\\left(\\frac{1}{16}+o(1)\\right)n^2.$$\nHere $\\log$ is the logarithm to base $2$, as in [RoTr25].\n-/\n@[category research solved, AMS 5 20]\ntheorem erdos_1162.variants.roney_dougal_tracey :\n    (fun n : ℕ ↦ Real.logb 2 (f n : ℝ)) ~[atTop] fun n : ℕ ↦ (n : ℝ) ^ 2 / 16 := by\n  sorry\n\n/--\nRoney-Dougal and Tracey [RoTr25, Theorem 1] proved that there are absolute constants\n$\\alpha>0$ and $\\beta$ such that for all integers $n>1$\n$$2^{n^2/16+\\alpha n\\log n}\\leq f(n)\\leq 2^{n^2/16+\\beta n^{3/2}},$$\nwhere $\\log$ is the logarithm to base $2$. This implies the previous variant.\n-/\n@[category research solved, AMS 5 20]\ntheorem erdos_1162.variants.roney_dougal_tracey_bounds :\n    ∃ α > (0 : ℝ), ∃ β : ℝ, ∀ n : ℕ, 1 < n →\n      (2 : ℝ) ^ ((n : ℝ) ^ 2 / 16 + α * n * Real.logb 2 n) ≤ f n ∧\n        (f n : ℝ) ≤ (2 : ℝ) ^ ((n : ℝ) ^ 2 / 16 + β * (n : ℝ) ^ ((3 : ℝ) / 2)) := by\n  sorry\n\nend Erdos1162\n",
  "statement_hash": "c819830c92047eacc787e278eab36107a438772e7b8f3495282cb49d1bbf9c57",
  "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."
}