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 839

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Erdős Problem 839 (Part 1) [Er78f][Er92c]:

Let 1≤a1<a2<⋯1 \leq a_1 < a_2 < \cdots be a strictly increasing sequence of positive integers such that no aia_i is the sum of consecutive aja_j for j<ij < i. Is it true that lim sup⁡an/n=∞\limsup a_n / n = \infty?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.03373 [math.NT] · NS.03373v1 for this version
Declaration:Erdos839.erdos_839.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:6caa32928c788311ca211bf4744e4a74b8681ac9230a485c96b76d69474824e5
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/839.lean

Formal statement

theorem erdos_839.parts.i :
    ∀ (a : ℕ → ℕ), (∀ n, 1 ≤ a n) → StrictMono a → SumOfConsecutiveFree a →
    atTop.limsup (fun n : ℕ => (a n : ℝ≥0∞) / n) = ⊤
Show the full Challenge.lean (80 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 839

*References:*
- [erdosproblems.com/839](https://www.erdosproblems.com/839)
- [Er78f] Erdős, P., *Problems in number theory and combinatorics*, Proc. Sixth Manitoba Conf. on
  Numerical Math. (1978), 35-58.
- [Er92c] Erdős, P., *Some of my favourite unsolved problems*, J. Combin. Theory Ser. A (1992).

See also [Erdős Problem 359](https://www.erdosproblems.com/359) and
[Erdős Problem 867](https://www.erdosproblems.com/867).
-/

@[expose] public section

open Filter Real Finset
open scoped ENNReal

namespace Erdos839

/-- A sequence $a : \mathbb{N} \to \mathbb{N}$ is "sum-of-consecutive-free" if no term equals
the sum of a contiguous block of earlier terms. That is, for all $i$,
$a_i \neq a_j + a_{j+1} + \cdots + a_k$ for any $j \leq k < i$. -/
def SumOfConsecutiveFree (a : ℕ → ℕ) : Prop :=
  ∀ i : ℕ, ∀ j k : ℕ, j ≤ k → k < i →
    a i ≠ ∑ l ∈ Finset.Icc j k, a l

/--
Erdős Problem 839 (Part 1) [Er78f][Er92c]:

Let $1 \leq a_1 < a_2 < \cdots$ be a strictly increasing sequence of positive integers
such that no $a_i$ is the sum of consecutive $a_j$ for $j < i$.
Is it true that $\limsup a_n / n = \infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_839.parts.i :
    ∀ (a : ℕ → ℕ), (∀ n, 1 ≤ a n) → StrictMono a → SumOfConsecutiveFree a →
    atTop.limsup (fun n : ℕ => (a n : ℝ≥0∞) / n) = ⊤ := by
  sorry

/--
Erdős Problem 839 (Part 2, stronger) [Er78f][Er92c]:

Let $1 \leq a_1 < a_2 < \cdots$ be a strictly increasing sequence of positive integers
such that no $a_i$ is the sum of consecutive $a_j$ for $j < i$.
Is it true that $\lim_{x \to \infty} \frac{1}{\log x} \sum_{a_n < x} \frac{1}{a_n} = 0$?

This is equivalent to asking whether the range $\{a_1,a_2,\ldots\}$ has logarithmic density zero
(see `Set.HasLogDensity`).
-/
@[category research open, question, AMS 11]
theorem erdos_839.parts.ii :
    ∀ (a : ℕ → ℕ), (∀ n, 1 ≤ a n) → StrictMono a → SumOfConsecutiveFree a →
    Set.HasLogDensity (Set.range a) 0 := by
  sorry

-- TODO: Formalize the additional material on the possible lower limit, reciprocal-sum growth,
-- upper-density constructions, and the links with Erdős Problems 359 and 867.

end Erdos839

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

nosorry fetch erdos-839
nosorry submit erdos-839 nosorry/erdos-839/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.