/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil import FormalConjectures.ErdosProblems.«246»

Erdős Problem 1110

Reference: Erdős Problem 1110

namespace Erdos1110

$n$ is representable with respect to $p$ and $q$ if it is the sum of a finite divisibility antichain of terms of the form $p^kq^l$.

def Representable (p q n : ) : Prop := s : Finset , (s : Set ) Erdos246.Gamma p q IsAntichain (· ·) (s : Set ) s.sum id = n

Let $p>q\geq 2$ be two coprime integers. We call $n$ representable if it is the sum of integers of the form $p^kq^l$, none of which divide each other.

If ${p,q}\neq {2,3}$ then what can be said about the density of non-representable numbers? Are there infinitely many coprime non-representable numbers?

@[category research open, AMS 5 11] theorem erdos_1110 : answer(sorry) (p q : ), q < p 2 q Nat.Coprime p q ¬(p = 3 q = 2) Set.Infinite {n : | Nat.Coprime n (p * q) ¬Representable p q n} := True (p q : ), q < p 2 q p.Coprime q ¬(p = 3 q = 2) {n | n.Coprime (p * q) ¬Representable p q n}.Infinite All goals completed! 🐙end Erdos1110