Erdős Problem 56 #
Reference: erdosproblems.com/56
Say a set of natural numbers is k
-weakly divisible if any k+1
elements
of A
are not relatively prime.
Equations
- Erdos56.WeaklyDivisible k A = ∀ s ∈ Finset.powersetCard (k + 1) A, ¬(↑s).Pairwise Nat.Coprime
Instances For
A singleton is k
-weakly divisble if k ≠ 0
.
No non-empty set is 1
-weakly divisible.
MaxWeaklyDivisible N k
is the size of the largest k-weakly divisible subset of {1,..., N}
Equations
- Erdos56.MaxWeaklyDivisible N k = sSup {x : ℕ | ∃ (A : Finset ℕ) (_ : A ⊆ Finset.Icc 1 N) (_ : Erdos56.WeaklyDivisible k A), A.card = x}
Instances For
FirstPrimesMultiples N k
is the set of numbers in {1,..., N}
that are
a multiple of one of the first k
primes.
Equations
- Erdos56.FirstPrimesMultiples N k = Finset.filter (fun (i : ℕ) => ∃ j < k, Nat.nth Nat.Prime j ∣ i) (Finset.Icc 1 N)
Instances For
theorem
Erdos56.weaklyDivisible_firstPrimesMultiples
(N k : ℕ)
(hN : 1 ≤ N)
:
WeaklyDivisible k (FirstPrimesMultiples N k)
An example of a k
-weakly divisible set is the subset of {1, ..., N}
containing the multiples of the first k
primes.
Suppose $A \subseteq \{1,\dots,N\}$ is such that there are no $k+1$ elements of $A$ which are relatively prime. An example is the set of all multiples of the first $k$ primes. Is this the largest such set?