Skip to content

Erdős problem 844

Let A⊆{1,…,N}A\subseteq \{1,\ldots,N\} be such that, for all a,b∈Aa,b\in A, the product abab is not squarefree.

Sources

The source's own material, retained exactly.

1 retained statement36c6d0fef71a

Open selected source

FormalConjectures/ErdosProblems/

844.lean

Retained formal statement1 of 1

Let A⊆{1,…,N}A\subseteq \{1,\ldots,N\} be such that, for all a,b∈Aa,b\in A, the product abab is not squarefree.

Is the maximum size of such an AA achieved by taking AA 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 AA must contain all non-squarefree numbers. It therefore suffices to find the largest size of a subset of all squarefree numbers in {1,…,N}\{1,\ldots,N\} 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].

FormalConjectures/ErdosProblems/844.leanErdos844.erdos_8444 linesExact file
True ↔  ∀ (N : ℕ),    IsGreatest {k | ∃ A ⊆ Finset.Icc 1 N, (∀ a ∈ A, ∀ b ∈ A, ¬Squarefree (a * b)) ∧ A.card = k}      (Erdos844.evenOrOddNonSquarefree N).card
SolvedStatement only, no proof