Skip to content

Conversation

@Reklle
Copy link
Contributor

@Reklle Reklle commented Jun 16, 2025

closes #188
I don't know how correct it is, but I decided not to introduce a separate function.

such that the limit of $(p_{n_{i+1}} - p_{n_i}) / log n_i$ equals $x$,
where $p_k$ denotes the k-th prime number.

Note: the condition `n 0 ≥ 2` ensures the logarithm is defined for all indices
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this condition is not quite needed because log takes the junk value 0 for the remaining indices, and StrictMono will only allow log (n 0) and log (n 1) to take junk values. So these should not affect the final asymptotic assertion -- although I guess it can't hurt to leave it in

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looking through the sources, it also looks like some of the more modern statements of this problem equivalently use $\log(p_n)$ as the denominator, rather than $\log(n)$, which would avoid this issue entirely

@smmercuri
Copy link
Collaborator

Thanks for the contrib! Would you be able to add some of the additional solved results on the webpage as variants as well, or add a TODO?

@[category research open, AMS 11]
theorem erdos_5.finite_case (x : ℝ) (hx : 0 ≤ x) :
∃ n : ℕ → ℕ, StrictMono n ∧ n 0 ≥ 2 ∧
Tendsto (fun i ↦ ((n (i+1)).nth Prime - (n i).nth Prime : ℝ) / log (n i)) atTop (𝓝 x) := by
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: the cast to real can be removed here and in infinite_case, this will be inferred from Real.log in the denom

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I see that! Thank you!

@smmercuri smmercuri added the Awaiting author A reviewer has asked the author a question or requested changes. label Jun 18, 2025
@[category research solved, AMS 11]
theorem infinite_case :
∃ p : ℕ → ℕ, StrictMono p ∧ (∀ n : ℕ, (p n).Prime) ∧
Tendsto (fun i ↦ (p (i+1) - p i) / log (p i)) atTop atTop := by
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given the comment above this should be modified so that only successive prime differences are considered

@mo271
Copy link
Collaborator

mo271 commented Sep 5, 2025

@Reklle it seems like some of the comments are already adresses, could you resolve those?

@Reklle
Copy link
Contributor Author

Reklle commented Sep 5, 2025

@mo271, done! Sorry for the long delay

Comment on lines +41 to +42
∃ p : ℕ → ℕ, StrictMono p ∧ (∀ n : ℕ, (p n).Prime) ∧
Tendsto (fun i ↦ (p (i+1) - p i) / log (p i)) atTop atTop := by
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is still not correct, you need to also introduce the sequence n_i. The function p you have introduced is analogous to p(i) = p_{n_i} in the problem, so p(i+1) = p_{n_{i+1}} and not p_{n_i + 1}. I would introduce the sequence n and use Nat.nth Prime as you had before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting author A reviewer has asked the author a question or requested changes. Erdős Problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Erdős Problem 5: limit points of $(p_{n+1} - p_n)/\log n$

4 participants