← All papers
First page of Positivity and negativity for $h$-bases for $n$

Positivity and negativity for $h$-bases for $n$

Wouter van Doorn, Pietro Monticone, Melvyn B. Nathanson

math.CO Oct 14, 2026 · v2 math.NT
The main comparison results were first discovered and formally verified in Lean by Harmonic's Aristotle agent; the paper gives new human proofs.
A set $A$ of integers is an $h$-basis for $n$ if every integer in $[0,n] = \{0,1,2,\ldots,n\}$ belongs to the sumset $hA$, that is, can be represented as the sum of exactly $h$ not necessarily distinct elements of $A$. The classical postage stamp problem asks for the largest integer $n_h(k)$ such that $[0,n_h(k)] \subseteq hA$ for some set $A$ of nonnegative integers of size $k+1$. We consider the effect of allowing negative elements. Let $n^{\flat}_h(k)$ be the largest integer such that $[0,n^{\flat}_h(k)] \subseteq hA$ for some set $A$ of integers of size $k+1$ containing at least one negative integer. For $k=2$, we have $n^{\flat}_h(2) < n_h(2)$ if $h$ is odd or $h=4$ and $n^{\flat}_h(2) = n_h(2)$ if $h$ is even and $h \neq 4$. Proofs of these comparison results were autonomously discovered and formally verified in Lean by https://aristotle.harmonic.fun/}{Aristotle}, a formal reasoning agent developed by https://www.harmonic.fun/}{Harmonic}. In this paper we give new proofs of these results.

The postage stamp problem asks for the largest n such that [0,n] lies in the h-fold sumset of a set of k+1 nonnegative integers. The question is how this extremal function n_h(2) changes when the set must contain at least one negative integer.

Lemmas reduce candidate sets {a,a+x,a+y} to finitely many cases, with bounds y ≤ h+1, gcd(x,y)=1 and a ≥ -(h-1). Congruence-class arguments then bound n_h(A). The first proofs were discovered autonomously and verified in Lean by the Aristotle agent. The human authors studied those arguments and wrote new proofs that reuse some of Aristotle's methods.

For h odd or h=4, the version allowing a negative element is strictly smaller than n_h(2). For even h other than 4, the two values are equal. The paper also gives a new proof of Stöhr's formula n_h(2)=[(h^2+6h+1)/4].