Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 933 · variants.lower_bound

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Erdős [Er76d] wrote 'it is easy to see' that for infinitely many nn, 2k3l>nlog⁡n2^k 3^l > n\log n.

Steinerberger has noted a simple proof of this fact follows from taking n=23rn=2^{3^r} for any integer r≥1r\geq 1, when k=3rk=3^r and l=r+1l=r+1.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.03667 [math.NT] · NS.03667v1 for this version
Declaration:Erdos933.erdos_933.variants.lower_bound
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:9d9b426ac6d5d34901f04e63217521897b78717ffbfa2d95145db25ff1b87cec
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/933.lean

Formal statement

theorem erdos_933.variants.lower_bound :
    Set.Infinite { n : ℕ | ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) > (n : ℝ) * Real.log (n : ℝ) }
Show the full Challenge.lean (99 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 933

*References:*
- [erdosproblems.com/933](https://www.erdosproblems.com/933)
- [Er76d] Erdős, P, Problems and results on number theoretic properties of consecutive integers and
  related questions. Proceedings of the Fifth Manitoba Conference on Numerical Mathematics (Univ.
  Manitoba, Winnipeg, Man., 1975) (1976), 25-44.
-/

@[expose] public section

open Filter

namespace Erdos933

/-- The 2-adic valuation of $n(n+1)$. -/
def k (n : ℕ) : ℕ := padicValNat 2 (n * (n + 1))

/-- The 3-adic valuation of $n(n+1)$. -/
def l (n : ℕ) : ℕ := padicValNat 3 (n * (n + 1))

/--
If $n(n+1)=2^k3^lm$, where $(m,6)=1$, then is it true that
$\limsup_{n\to \infty} \frac{2^k3^l}{n\log n}=\infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_933 :
    atTop.limsup (fun n : ℕ ↦
      ((((2 ^ k n * 3 ^ l n : ℕ) : ℝ) / ((n : ℝ) * Real.log (n : ℝ))) : EReal)) = ⊤ := by
  sorry

/--
Mahler proved (a more general result that implies in particular) that $2^k3^l<n^{1+o(1)}$.
-/
@[category research solved, AMS 11]
theorem erdos_933.variants.mahler :
    ∃ c : ℕ → ℝ, (c =o[atTop] (1 : ℕ → ℝ)) ∧
      ∀ᶠ n in atTop, ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) < (n : ℝ) ^ (1 + c n) := by
  sorry

/--
Erdős [Er76d] wrote 'it is easy to see' that for infinitely many $n$, $2^k 3^l > n\log n$.

Steinerberger has noted a simple proof of this fact follows from taking $n=2^{3^r}$ for any
integer $r\geq 1$, when $k=3^r$ and $l=r+1$.
-/
@[category research solved, AMS 11]
theorem erdos_933.variants.lower_bound :
    Set.Infinite { n : ℕ | ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) > (n : ℝ) * Real.log (n : ℝ) } := by
  -- Witness: n = 2^(3^(r+1)); k n = 3^(r+1), l n = r+2 by LTE, and 3 > log 2.
  refine Set.infinite_of_injective_forall_mem
    (f := fun r : ℕ ↦ 2 ^ (3 ^ (r + 1))) ?_ fun r ↦ ?_
  · exact (Nat.pow_right_injective (a := 2) (by norm_num)).comp
      ((Nat.pow_right_injective (a := 3) (by norm_num)).comp (add_left_injective 1))
  let m := 3 ^ (r + 1)
  have hk : k (2 ^ m) = m := by
    rw [k, padicValNat.mul (by positivity) (by positivity), padicValNat.prime_pow,
      padicValNat.eq_zero_of_not_dvd
        ((Even.pow_of_ne_zero (by norm_num) (by positivity)).add_one).not_two_dvd_nat, add_zero]
  have hl : l (2 ^ m) = r + 2 := by
    rw [l, padicValNat.mul (by positivity) (by positivity),
      padicValNat_prime_prime_pow (p := 3) (q := 2) m (by norm_num), zero_add]
    rw [show 2 ^ m + 1 = 2 ^ m + 1 ^ m by simp,
      padicValNat.pow_add_pow (p := 3) (x := 2) (y := 1) (by norm_num)
        (by norm_num) (by norm_num) (by simpa [m] using (by norm_num : Odd 3).pow)]
    simp [m]
    lia
  have hlog : (m : ℝ) * Real.log 2 < (3 : ℝ) ^ (r + 2) := by
    calc
      _ < (m : ℝ) * 3 := mul_lt_mul_of_pos_left (by linarith [Real.log_two_lt_d9]) (by positivity)
      _ = _ := by norm_num [m, pow_succ]
  change 2 ^ m ∈ {n | ((2 ^ k n * 3 ^ l n : ℕ) : ℝ) > (n : ℝ) * Real.log (n : ℝ)}
  simp only [Set.mem_ofPred_eq, hk, hl]
  push_cast
  rw [Real.log_pow]
  exact mul_lt_mul_of_pos_left hlog (by positivity)

end Erdos933

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos933.erdos_933.variants.lower_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_lower_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-933--erdos-933-variants-lower-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-933--erdos-933-variants-lower-bound
nosorry submit erdos-933--erdos-933-variants-lower-bound nosorry/erdos-933--erdos-933-variants-lower-bound/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.