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 955

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:

If A⊂NA\subset \mathbb{N} has density 00 then s−1(A)s^{-1}(A) must also have density 00.

A conjecture of Erdős, Granville, Pomerance, and Spiro [EGPS90].

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

Formal statement

theorem erdos_955 :
    ∀ A : Set ℕ, A.HasDensity 0 → { x | s x ∈ A }.HasDensity 0
Show the full Challenge.lean (145 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 955

*References:*
- [erdosproblems.com/955](https://www.erdosproblems.com/955)
- [EGPS90] Erdős, P. and Granville, A. and Pomerance, C. and Spiro, C., On the normal behavior of
  the iterates of some arithmetic functions. Analytic number theory (Allerton Park, IL, 1989)
  (1990), 165-204.
- [Er73b] Erdős, P., Über die Zahlen der Form $\sigma(n) - n$ und $n - \phi(n)$. Elem. Math.
  (1973), 83--86.
- [Gu04] Guy, Richard K., Unsolved problems in number theory. (2004), xviii+437.
- [PPT18] Pollack, Paul and Pomerance, Carl and Thompson, Lola, Divisor-sum fibers. Mathematika
  (2018), 330--342.
- [Po14b] Pollack, Paul, Some arithmetic properties of the sum of proper divisors and the sum of
  prime divisors. Illinois J. Math. (2014), 125--147.
- [PoPo16] Pollack, Paul and Pomerance, Carl, Some problems of Erdős on the sum-of-divisors
  function. Trans. Amer. Math. Soc. Ser. B (2016), 1--26.
- [Tr15] Troupe, Lee, On the number of prime factors of values of the sum-of-proper-divisors
  function. J. Number Theory (2015), 120--135.
- [Tr20] Troupe, Lee, Divisor sums representable as the sum of two squares. Proc. Amer. Math. Soc.
  (2020), 4189--4202.
-/

@[expose] public section

open Nat Filter
open scoped ArithmeticFunction ArithmeticFunction.sigma Topology

namespace Erdos955

/--
Let $s(n)=\sigma(n)-n=\sum_{\substack{d\mid n\\ d<n}}d$ be the sum of proper divisors function.
-/
def s (n : ℕ) : ℕ := σ 1 n - n

@[category test, AMS 11]
theorem s_one : s 1 = 0 := by decide

@[category test, AMS 11]
theorem s_two : s 2 = 1 := by decide

@[category test, AMS 11]
theorem s_six : s 6 = 6 := by decide

@[category test, AMS 11]
theorem s_twelve : s 12 = 16 := by decide

@[category test, AMS 11]
theorem s_twenty_eight : s 28 = 28 := by decide

/--
If $A\subset \mathbb{N}$ has density $0$ then $s^{-1}(A)$ must also have density $0$.

A conjecture of Erdős, Granville, Pomerance, and Spiro [EGPS90].
-/
@[category research open, question, AMS 11]
theorem erdos_955 :
    ∀ A : Set ℕ, A.HasDensity 0 → { x | s x ∈ A }.HasDensity 0 := by
  sorry

/--
It is possible for $s(A)$ to have positive density even if $A$ has zero density (for example
taking $A$ to be the product of two distinct primes).
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.positive_density :
    ∃ A : Set ℕ, A.HasDensity 0 ∧ (∃ d > 0, (s '' A).HasDensity d) := by
  sorry

/--
Erdős [Er73b] proved that there are sets $A$ of positive density such that $s^{-1}(A)$ is empty.

Here "positive density" means positive lower density: Erdős proved that the set of untouchable
numbers (those not of the form $s(n)$) has positive lower density [Er73b, Satz I]. Pollack and
Pomerance [PoPo16] conjecture that this set has a natural density and give a heuristic for its
value. The same result is stated as `erdos_418.variants.sigma` in Erdős Problem 418.
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.empty_preimage :
    ∃ A : Set ℕ, 0 < A.lowerDensity ∧ { x | s x ∈ A } = ∅ := by
  sorry

/--
Pollack [Po14b] has shown that this is true if $A$ is the set of primes.
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.pollack_primes :
    { x | Nat.Prime (s x) }.HasDensity 0 := by
  sorry

/--
Troupe [Tr15] has shown that this is true if $A$ is the set of integers with unusually many prime
factors.
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.troupe_unusually_many_prime_factors :
    ∀ ε > 0, { x | (1 + ε) * Real.log (Real.log (s x)) <
      (ArithmeticFunction.cardDistinctFactors (s x) : ℝ) }.HasDensity 0 := by
  sorry

/--
Troupe [Tr20] has also shown this is true if $A$ is the set of integers which are the sum of two
squares.
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.troupe_sum_of_two_squares :
    { x | ∃ a b : ℕ, s x = a^2 + b^2 }.HasDensity 0 := by
  sorry

open scoped Classical in
/--
Pollack, Pomerance, and Thompson [PPT18] prove that if $\epsilon(x)=o(1)$ and $A\subset \mathbb{N}$
has size at most $x^{1/2+\epsilon(x)}$ then $\#\{ n\leq x: s(n)\in A\} =o(x)$ as $x\to \infty$. It
follows that (using $s(n)\ll n\log\log n$) if $A$ grows like
$\lvert A\cap [1,x]\rvert\leq x^{1/2+o(1)}$ then $s^{-1}(A)$ has density $0$.
-/
@[category research solved, AMS 11]
theorem erdos_955.variants.pollack_pomerance_thompson_bound :
    ∀ (A : Set ℕ) (ε : ℕ → ℝ),
      Tendsto ε atTop (𝓝 0) →
      (∀ᶠ n : ℕ in atTop, (count (· ∈ A) n : ℝ) ≤ (n : ℝ) ^ ((1 / 2 : ℝ) + ε n)) →
      { x | s x ∈ A }.HasDensity 0 := by
  sorry

end Erdos955

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

nosorry fetch erdos-955
nosorry submit erdos-955 nosorry/erdos-955/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.