Erdős problem 844
Let be such that, for all , the product is not squarefree.
Sources
FormalConjectures/ErdosProblems/
844.lean
Let be such that, for all , the product is not squarefree.
Is the maximum size of such an achieved by taking to be the set of even numbers and odd non-squarefree numbers?
A problem of Erdős and Sárközy.
Weisenberg has provided the following positive proof. It is clear that such a maximal must contain all non-squarefree numbers. It therefore suffices to find the largest size of a subset of all squarefree numbers in such that any two have at least one prime factor in common. By the result of Chvátal [Ch74] discussed in [701] this is maximised by the set of all even squarefree numbers.
An alternative proof was independently found by Alexeev, Mixon, and Sawin [AMS25].
True ↔ ∀ (N : ℕ), IsGreatest {k | ∃ A ⊆ Finset.Icc 1 N, (∀ a ∈ A, ∀ b ∈ A, ¬Squarefree (a * b)) ∧ A.card = k} (Erdos844.evenOrOddNonSquarefree N).card