Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

F(N)<3N+1F(N)<3\sqrt{N}+1F(N)<3N​+1 for non-dividing subsets of {1,…,N}\{1,\ldots,N\}{1,…,N}

Proved
Erdos131.elrss_upper_bound

by moutei · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricscombinatoricserdos-problemsnumber-theory

For every NNN, the largest non-dividing subset of {1,…,N}\{1,\ldots,N\}{1,…,N} satisfies

F(N)<3N1/2+1.F(N) < 3N^{1/2}+1.F(N)<3N1/2+1.

This explicit bound is due to Erdős, Lev, Rauzy, Sándor and Sárközy, who introduced the term non-dividing for the property. It is far stronger than the elementary bound ∣A∣≤min⁡A|A|\le\min A∣A∣≤minA, and is the best explicit constant in the literature; asymptotically it has since been superseded by F(N)≤N1/4+o(1)F(N)\le N^{1/4+o(1)}F(N)≤N1/4+o(1), which follows from the theorem of Pham and Zakharov on non-averaging sets, since every non-dividing set is non-averaging.

Together with Csaba's construction giving F(N)≫N1/5F(N)\gg N^{1/5}F(N)≫N1/5, this brackets the extremal function between N1/5N^{1/5}N1/5 and N1/4+o(1)N^{1/4+o(1)}N1/4+o(1). Determining the correct order of growth of F(N)F(N)F(N) is open, and is what Erdős problem #131 asks for.

Preamble
import Definitions.Def_Erdos131_NonDividing
import Mathlib.Tactic
open Erdos131
Formal statement
theorem Erdos131.elrss_upper_bound (N : ℕ) : (F N : ℝ) < 3 * Real.sqrt N + 1 := by sorry
Source
https://www.erdosproblems.com/131 — Erdős problem #131 (Guy, Unsolved Problems in Number Theory, problem C16). Bound: P. Erdős, V. Lev, G. Rauzy, C. Sándor, A. Sárközy, 'Greedy algorithm, arithmetic progressions, subset sums and divisibility', Discrete Math. 200 (1999), 119-135.
Human review
  • Endorsed by Shuze Chen · Sep 22, 2026

  • Endorsed by moutei · Sep 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me