Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions FormalConjectures/ErdosProblems/1139.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports
/-!
# Erdős Problem 1139

*Reference:* [erdosproblems.com/1139](https://www.erdosproblems.com/1139)
-/

open Nat Filter
open scoped ArithmeticFunction
open scoped Topology

namespace Erdos1139

/--
Let $1\leq u_1 < u_2 < \cdots$ be the sequence of integers with at most $2$ prime factors.
Is it true that \[\limsup_{k \to \infty} \frac{u_{k+1}-u_k}{\log k}=\infty?\]
-/
@[category research open, AMS 11]
theorem erdos_1139 :
answer(sorry) ↔
let u := Nat.nth (fun n ↦ 0 < n ∧ Ω n ≤ 2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let u := Nat.nth (fun n ↦ 0 < n ∧ Ω n ≤ 2)
letI u := Nat.nth (fun n ↦ 0 < n ∧ Ω n ≤ 2)

atTop.limsup (fun k : ℕ ↦ (((u (k + 1) : ℝ) - (u k : ℝ)) / Real.log ↑k : EReal)) = ⊤ := by
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the indexing may need to be shifted by 1 in some places here (in the denominator?): the u sequence in the informal version starts a 1 while in the formal version it starts at 0.

sorry

end Erdos1139
Loading