{
  "id": "3665",
  "ident": "NS.03665",
  "slug": "erdos-933",
  "title": "Erdős Problem 933",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "If $n(n+1)=2^k3^lm$, where $(m,6)=1$, then is it true that\n$\\limsup_{n\\to \\infty} \\frac{2^k3^l}{n\\log n}=\\infty$?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos933.erdos_933",
  "statement_lean": "theorem erdos_933 :\n    atTop.limsup (fun n : ℕ ↦\n      ((((2 ^ k n * 3 ^ l n : ℕ) : ℝ) / ((n : ℝ) * Real.log (n : ℝ))) : EReal)) = ⊤",
  "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 933\n\n*References:*\n- [erdosproblems.com/933](https://www.erdosproblems.com/933)\n- [Er76d] Erdős, P, Problems and results on number theoretic properties of consecutive integers and\n  related questions. Proceedings of the Fifth Manitoba Conference on Numerical Mathematics (Univ.\n  Manitoba, Winnipeg, Man., 1975) (1976), 25-44.\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos933\n\n/-- The 2-adic valuation of $n(n+1)$. -/\ndef k (n : ℕ) : ℕ := padicValNat 2 (n * (n + 1))\n\n/-- The 3-adic valuation of $n(n+1)$. -/\ndef l (n : ℕ) : ℕ := padicValNat 3 (n * (n + 1))\n\n/--\nIf $n(n+1)=2^k3^lm$, where $(m,6)=1$, then is it true that\n$\\limsup_{n\\to \\infty} \\frac{2^k3^l}{n\\log n}=\\infty$?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_933 :\n    atTop.limsup (fun n : ℕ ↦\n      ((((2 ^ k n * 3 ^ l n : ℕ) : ℝ) / ((n : ℝ) * Real.log (n : ℝ))) : EReal)) = ⊤ := by\n  sorry\n\n/--\nMahler proved (a more general result that implies in particular) that $2^k3^l<n^{1+o(1)}$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_933.variants.mahler :\n    ∃ c : ℕ → ℝ, (c =o[atTop] (1 : ℕ → ℝ)) ∧\n      ∀ᶠ n in atTop, ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) < (n : ℝ) ^ (1 + c n) := by\n  sorry\n\n/--\nErdős [Er76d] wrote 'it is easy to see' that for infinitely many $n$, $2^k 3^l > n\\log n$.\n\nSteinerberger has noted a simple proof of this fact follows from taking $n=2^{3^r}$ for any\ninteger $r\\geq 1$, when $k=3^r$ and $l=r+1$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_933.variants.lower_bound :\n    Set.Infinite { n : ℕ | ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) > (n : ℝ) * Real.log (n : ℝ) } := by\n  -- Witness: n = 2^(3^(r+1)); k n = 3^(r+1), l n = r+2 by LTE, and 3 > log 2.\n  refine Set.infinite_of_injective_forall_mem\n    (f := fun r : ℕ ↦ 2 ^ (3 ^ (r + 1))) ?_ fun r ↦ ?_\n  · exact (Nat.pow_right_injective (a := 2) (by norm_num)).comp\n      ((Nat.pow_right_injective (a := 3) (by norm_num)).comp (add_left_injective 1))\n  let m := 3 ^ (r + 1)\n  have hk : k (2 ^ m) = m := by\n    rw [k, padicValNat.mul (by positivity) (by positivity), padicValNat.prime_pow,\n      padicValNat.eq_zero_of_not_dvd\n        ((Even.pow_of_ne_zero (by norm_num) (by positivity)).add_one).not_two_dvd_nat, add_zero]\n  have hl : l (2 ^ m) = r + 2 := by\n    rw [l, padicValNat.mul (by positivity) (by positivity),\n      padicValNat_prime_prime_pow (p := 3) (q := 2) m (by norm_num), zero_add]\n    rw [show 2 ^ m + 1 = 2 ^ m + 1 ^ m by simp,\n      padicValNat.pow_add_pow (p := 3) (x := 2) (y := 1) (by norm_num)\n        (by norm_num) (by norm_num) (by simpa [m] using (by norm_num : Odd 3).pow)]\n    simp [m]\n    lia\n  have hlog : (m : ℝ) * Real.log 2 < (3 : ℝ) ^ (r + 2) := by\n    calc\n      _ < (m : ℝ) * 3 := mul_lt_mul_of_pos_left (by linarith [Real.log_two_lt_d9]) (by positivity)\n      _ = _ := by norm_num [m, pow_succ]\n  change 2 ^ m ∈ {n | ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) > (n : ℝ) * Real.log (n : ℝ)}\n  simp only [Set.mem_ofPred_eq, hk, hl]\n  push_cast\n  rw [Real.log_pow]\n  exact mul_lt_mul_of_pos_left hlog (by positivity)\n\nend Erdos933\n",
  "statement_hash": "9d9b426ac6d5d34901f04e63217521897b78717ffbfa2d95145db25ff1b87cec",
  "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."
}