Left to Solve
Problems / MathOverflow (not formalized)

Computing the density of a set of multiples

Open, not yet stated in LeanMathOverflow (not formalized)Number TheoryComputational Complexitydifficulty55/100

Statement

Erdős and his coauthors often wrote about problems relating to the densities of sets of multiples. I have a computational question about the same topic. I have a finite* set of positive integers. Define as the set of positive integer multiples of and

The density of is (If is infinite the density may not exist, but following the procedure above yields the logarithmic density, which (for sets of multiples) always equals the lower density.)

Is there any practical way to compute the sum above? Naive expansion of the inclusion-exclusion tree yields exponentially many terms. Checking each residue in the LCM is, of course, even worse.

* My set is actually infinite, but I'm lower-bounding the density of its multiples by the density of the multiples of a finite segment. If you can find the density of the set of multiples of an infinite set, this would also answer my question.

This is essentially a repost of the same question on math.se, where I offered a bounty but received no …

Posed by Charles · nt.number-theory, algorithms, na.numerical-analysis, computational-number-theory

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-218623.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-218623.lean

import Mathlib

/-!
# Computing the density of a set of multiples

Source: https://mathoverflow.net/questions/218623
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_218623

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_218623