Coprime residue supports compress the possible cleared cofactor sums
ProvedErdos287.cofactor_subset_sums_compress_by_coprime_residuesegyptian-fractionserdos-problemsnumber-theory
Let be finite with integer weights , where is the product of pairwise coprime positive integers . Put . Then every nonempty subset sum of has a representative in a family of at most nonempty subsets of .
Preamble
import Mathlib
Formal statement
theorem Erdos287.cofactor_subset_sums_compress_by_coprime_residues (U I : Finset ℕ) (q w : ℕ → ℕ) (L : ℕ)
(hL : L = ∏ i ∈ I, q i) (hq : ∀ i ∈ I, 0 < q i)
(hcop : ∀ i ∈ I, ∀ j ∈ I, i ≠ j → (q i).Coprime (q j))
(hw : ∀ x ∈ U, w x ≤ L) :
∃ F : Finset (Finset ℕ),
(∀ T ∈ F, T ⊆ U ∧ T.Nonempty) ∧
(∀ T ⊆ U, T.Nonempty → ∃ V ∈ F, (∑ x ∈ V, w x) = ∑ x ∈ T, w x) ∧
F.card ≤ (U.card + 1) * ∏ i ∈ I,
min (q i) (2 ^ (U.filter (fun x => ¬ q i ∣ w x)).card) := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287. See also Bleicher and Erdős, Denominators of Egyptian fractions II, https://old.renyi.hu/~p_erdos/1976-10.pdf.