Sets $S$ of natural numbers such that most natural numbers admit exactly two representations as sums of numbers in $S$
Statement
My main question is the following, but I am more broadly interested in any potentially interesting variants that may come up, as well as references for similar questions in the literature.
Main question. For a set of positive integers and a positive integer , denote by the number of ways to represent as an unordered sum of (one or more) distinct elements of . Let be a set of positive integers such that for every sufficiently large positive integer . Must there exist an element such that, if , then for every sufficiently large positive integer ?
It is very easy to construct examples of sets with for every sufficiently large if one allows the existence of an as above. Just take your favourite set with for sufficiently large ( being the canonical example) and add to it for your favourite . Then every sufficiently large admits exactly two representations as sums of elements of , arising from the unique representations of and as sums of elements of .
I am more generally interested in "inverse …
Posed by user50139 · nt.number-theory, additive-combinatorics
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-488676.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-488676.lean
import Mathlib /-! # Sets $S$ of natural numbers such that most natural numbers admit exactly two representations as sums of numbers in $S$ Source: https://mathoverflow.net/questions/488676 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_488676 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_488676