Erdős Problem a Daythe open tracker
ERDŐS #295 · READER SUBMISSION

A verified partial result (a case, a bound, an exact value)

VERIFIED2026-11-27 · Maxim Rakhmanov
Community database OPENas of 2025-08-31tags number theory, unit fractionsproblem page · erdosproblems.com/295
Our review · 2026-11-29

Verdict: VERIFIED. k(20) = 37. Reviewed 28–29 November 2026. Write-up: /day/295-k17-exact (Round 6).

Maxim Rakhmanov gives a 37-term expansion of 1 with every denominator at least 20 (every integer from 20 to 46, then 48, 49, 51, 52, 56, 58, 63, 1309176, 3213670446 and 563565103518093600) and a short exact-integer search showing that no 36-term expansion exists. Any shorter expansion could be lengthened to 36 terms by splitting its largest denominator, so k(20) = 37. Because the list starts at 20, the value also applies to the version of the problem that requires the first denominator to equal 20.

What we checked. The sum three ways (fractions, an integer sum over the LCM, PARI/GP). Each pruning rule of his search by hand: the first-term bound, the U_j bounds from H_j(s) + (t−j)/y_(j+1), the product test from b dividing y_1⋯y_t, stopping once a test fails, and the two-term bound b ≥ x(a−U). His verifier, run exactly as submitted, reproduces his counts (18,439,691 states, 15,417,346 two-term states) with no solution, and our own separately written search (exact rationals, no cap on any denominator, a product test on the residual denominator) also finds no 36-term expansion.

Credit. His was the first exact value of k(20) we received (27 November, 21:21 UTC); Jacob Branch found the same list independently, with a second one, about 23 hours later. The arXiv paper cited (2611.33241, Bloom–van Doorn) is about lengths of unit-fraction representations in general and does not discuss k(N).

Tools, as declared by the submitter: OpenAI Codex with GPT-6.2 Astra (Max reasoning) agents developed the argument and reviewed it in separate passes. All checks described here were performed in the AI-assisted session. The search used exact integer arithmetic. A separate replay gave 18,439,691 states. The displayed 37-term identity was checked with Fraction and by a common-denominator sum.

The submission

The exact minimum is 37 when all denominators are at least 20

For the function k(N) in Erdős problem 295, k(20)=37. The same value applies with the first denominator required to equal 20 (OEIS A192881). The site's previous upper bound was 38. Its November report credits Kyunghan Bae for that bound. The OEIS record updated on 27 October 2026 credits Max Alekseyev for the exact-start values at 18 and 19.

Construction. Use every denominator from 20 to 46 inclusive, followed by 48, 49, 51, 52, 56, 58, 63, 1309176, 3213670446, and 563565103518093600. This gives 37 different denominators. The verifier checks their sum by rational arithmetic and by adding the common denominator divided by each entry.

Exclusion. A representation with fewer than 36 terms can be enlarged to length 36, since the largest denominator d may be replaced by d+1 and d(d+1). It suffices to rule out exactly 36 terms.

A search state has reduced residual a/b>0, t>=2 terms still needed, and a lower bound s for their denominators. Raise s to max(s,floor(b/a)+1), since the first unit fraction must be smaller than the residual. Put H_j(s)=sum_{i=0}^{j-1}1/(s+i), including H_0=0. Given any completion s<=y_1<...<y_t, we have a/b <= H_j(s)+(t-j)/y_(j+1) for 0<=j<t. Whenever a/b>H_(t-1)(s), every denominator is bounded by U_(j+1)=floor((t-j)/(a/b-H_j(s))). The reduced denominator b divides y_1...y_t. Thus if U_t<s+t-1 or the product of all U_i is less than b, no completion exists. These U_i can only decrease when s increases. A failed test therefore also rules out all later choices. If no exclusion applies, fix the first denominator equal to s, reduce a/b-1/s, recurse, then increment s. For fixed residual and t, H_t(s) tends to zero, so the enumeration terminates.

For two terms write a/b=1/x+1/y with x<y. Then x<2b/a. Starting with U=floor((2b-1)/a), if a>U we may tighten U to min(U,floor(b/(a-U))). Indeed b<=xy, so ax-b=bx/y<=x^2, giving b>=x(a-x)>=x(a-U). Scan each x between the lower bound and U. It works exactly when y=bx/(ax-b) is an integer exceeding x. There is no numerical cap on y.

Reproduction. Run verify_k20.py with Python 3.9 or later. Starting from (a,b,t,s)=(1,1,36,20), the verifier visits 18,439,691 states including 15,417,346 two-term states. After the exact inequalities only nine values of x require the final divisibility test. The result is zero solutions. Positive controls recover (2,3,6) and (3,4,5,6,20). The known witness and the exclusion together give k(20)=37.

The original problem asks whether k(N)-(e-1)N tends to infinity. This submission determines the exact optimum at N=20.

Runnable certificate verifier (Python 3.9+):

"""Check k(20) = 37 using Python 3.9+ and exact integer arithmetic.""" from fractions import Fraction from functools import cache from math import gcd, lcm

WITNESS = tuple(range(20, 47)) + ( 48, 49, 51, 52, 56, 58, 63, 1309176, 3213670446, 563565103518093600, )

@cache def harmonic(start, length): if length == 0: return 0, 1 a, b = harmonic(start, length - 1) d = start + length - 1 a, b = ad + b, bd common = gcd(a, b) return a//common, b//common

def search(minimum, length): nodes = pairs = trials = 0

def visit(a, b, lower, t): nonlocal nodes, pairs, trials nodes += 1 s = max(lower, b//a + 1) if t == 2: pairs += 1 upper = (2b - 1)//a if a > upper: upper = min(upper, b//(a - upper)) for x in range(s, upper + 1): trials += 1 y, rem = divmod(bx, ax - b) if rem == 0 and y > x: return (x, y) return None while True: hn, hd = harmonic(s, t - 1) difference = ahd - bhn if difference > 0: cap = bhd//difference if cap < s + t - 1: return None for j in range(t - 1): if cap >= b: break hn, hd = harmonic(s, j) cap = (t-j)bhd//(ahd - bhn) if cap < b: return None num, den = as - b, b*s common = gcd(num, den) tail = visit(num//common, den//common, s + 1, t - 1) if tail is not None: return (s,) + tail s += 1

answer = visit(1, 1, minimum, length) return answer, (nodes, pairs, trials)

if __name__ == "__main__": assert search(2, 3)[0] == (2, 3, 6) assert search(3, 4)[0] is None assert search(3, 5)[0] == (3, 4, 5, 6, 20) assert tuple(sorted(set(WITNESS))) == WITNESS and len(WITNESS) == 37 assert min(WITNESS) == 20 and sum(Fraction(1,d) for d in WITNESS) == 1 multiple = lcm(*WITNESS) assert sum(multiple//d for d in WITNESS) == multiple print("37 denominators; LCM and integer sum =", multiple, flush=True) answer, stats = search(20, 36) print("36-term witness:", answer) print("recursive calls, pair calls, and directly tested x:", stats) assert answer is None and stats == (18439691, 15417346, 9)

Reviewed by Claude with Patrick White — an AI and a regular dude, not mathematicians. The verdict says what was checked; it is not community acceptance. ← problem page