Erdős problem #291 — wave5q report
Access/check date: 2026-07-26 UTC.
Claim labels used below:
- [a] elementary-rigorous: proved from scratch below.
- [b] rigorous-modulo-named-theorem: the stated named result/assumption is explicit.
- [c] plausible/structural-unverified: heuristic, an unverified forum claim, or an extrapolation.
- [d] computational-only: exact finite computation, not a theorem about infinitely many \(n\).
0. Mandatory live-page check
I fetched the rendered live page, its discussion page, its LaTeX-source page, and
its proof-claims page through the Bright Data browser path. This was not inferred
from the tracker YAML.
Live status at the time of access:
- status badge: OPEN;
- proof-claim count: 0; the dedicated page says “No proof claims have been
submitted yet”;
- “Currently working on this problem”: None;
- “Interested in collaborating”: Woett, Steve_Fan (interest only, not a
current-worker marker);
- comments: 3;
- “Formalised statement?”: Yes;
- page last edited: 12 January 2026.
Thus the required stop condition was absent and I proceeded. Sources:
discussion, and
Verbatim live statement
> Let \(n\geq 1\) and define \(L_n\) to be the least common multiple of
> \(\{1,\ldots,n\}\) and \(a_n\) by
> \[ > \sum_{1\leq k\leq n}\frac{1}{k}=\frac{a_n}{L_n}. > \]
> Is it true that \((a_n,L_n)=1\) and \((a_n,L_n)>1\) both occur for
> infinitely many \(n\)?
This also matches the formulation visible on p. 34 of Erdős–Graham,
Old and New Problems and Results in Combinatorial Number Theory (1980);
I visually inspected the scan rather than relying on a secondary transcription:
Results listed on the live page
- [a] The \(>1\) half is already settled: if the leading digit of \(n\) in
base \(3\) is \(2\), then \(3\mid(a_n,L_n)\). In particular every interval
\([2\cdot3^e,3^{e+1}-1]\), \(e\geq1\), supplies examples.
- [a] More generally, for a prime \(p\leq n\), let \(k\) be the leading
base-\(p\) digit of \(n\). Then
\[ p\mid(a_n,L_n) \quad\Longleftrightarrow\quad p\mid\operatorname{num}(H_k),\qquad H_k=\sum_{j=1}^k\frac1j. \]
A from-scratch proof is given in §2.
- [c] The page reports the heuristic
\(\#\{n\leq x:(a_n,L_n)=1\}\asymp x/\log x\): infinitely many such \(n\),
but density zero.
- [b: Wu–Yan Theorem 2, conditional on their Conjecture 1] If
\(1/\log p\) is linearly independent over \(\mathbb Q\) for every finite
collection of distinct primes (a consequence of Schanuel's conjecture),
then the set with \((a_n,L_n)>1\) has upper asymptotic density \(1\).
All live comments and participation information
The site itself warns that comments are not verified. I therefore do not use
any comment as a theorem.
1. Woett, 16:10 on 30 Nov 2025. [c] The comment expands the leading-digit
reduction and the Mertens heuristic. It states that
\[
\#\{1\leq k attributing the same bound to Lemma 2.4 of Wu–Chen. It identifies rational independence of the relevant logarithmic ratios as the main obstacle and links an unanswered 2011 The comment literally says that under Schanuel the upper density of the gcd-\(1\) set is \(1\). This conflicts with both the updated main page and Wu–Yan's actual Theorem 2, which concern the gcd-\(>1\) set; I treat that sentence as a comment typo, not a result. 2. Thomas Bloom, 08:41 on 28 Dec 2025. [c] The comment suggests that linear dependencies among \(1/\log p\) might be “baked in” using ideas from Bloom–Croot, perhaps yielding an unconditional proof that the gcd-\(>1\) set has upper density \(1\). It makes no proof claim and does not address infinitude of the gcd-\(1\) set. 3. Woett, 16:58 on 06 Feb 2026. [c] The comment relates #290 and #291 and discusses generalized sums \(\sum r_i/i\). It states, under two prime-number-theorem-type hypotheses, a formalized large-prime-factor theorem for bounded nonzero \(r_i\), and for periodic \(r_i\) a corollary \(\limsup\gcd(a_n,L_n)=\infty\). This is a generalization of the already settled \(>1\) half, not progress on infinitely many gcd-\(1\) values. The linked human source is van Doorn, arXiv:2411.03073, whose actual abstract concerns non-monotonicity of denominators of generalized harmonic sums. The two interested users are Woett and Steve_Fan. The current-worker field is None, so there was no collision. I searched exact-title, exact-formula, and citation trails, and inspected the following primary records. [The denominators of harmonic numbers, arXiv:1607.02863v2](https://arxiv.org/abs/1607.02863) (v2 dated 30 July 2024), explicitly calls \(d_n=L_n\) infinitely often a conjecture. Its abstract proves harmonic-density information for a fixed odd prime and an alignment result under a finite logarithmic-independence hypothesis; it does not prove infinitely many \(d_n=L_n\). [On the denominators of harmonic numbers. IV, DOI 10.5802/crmath.282](https://comptes-rendus.academie-sciences.fr/mathematique/item/10.5802/crmath.282.pdf), C. R. Math. 360 (2022), 53–57. Their Conjecture 1 is linear independence of \(1/\log q_i\); Theorem 2 conditionally proves upper density \(1\) for \(v_n summary and resolves the typo in the older forum comment. [On certain properties of harmonic numbers, DOI 10.1016/j.jnt.2016.11.027](https://www.sciencedirect.com/science/article/pii/S0022314X17300252), J. Number Theory 175 (2017), 66–86, is a real paper with the title and subject claimed by the comment. Its later global bound \(J_p(x)\leq3x^{2/3+1/(25\log p)}\) is also quoted in Wu–Yan. [On Eswarathasan–Levine and Boyd's conjectures for harmonic numbers, DOI 10.1017/S0004972725100154](https://doi.org/10.1017/S0004972725100154), published online in 2025 (Bull. Aust. Math. Soc. 113 (2026), 15–25), computes the \(p\)-divisible sets \(J_p\) for many fixed primes and discusses their conjectural finiteness. It neither states nor proves the gcd-\(1\) infinitude needed here. OEIS A110566 is exactly \(L_n/\operatorname{den}(H_n)=\gcd(a_n,L_n)\). Its linked b-file currently contains \(n=1,\ldots,10000\). I found no primary source claiming or proving infinitely many \((a_n,L_n)=1\), and the live page has no proof claim. This is a report of the search result, not a proof that no obscure literature exists. [a] Write the reduced harmonic number as Since \(d_n\mid L_n\), put \(L_n=d_nt_n\). The problem's integer is \(a_n=c_nt_n\), hence Thus \((a_n,L_n)=1\) is exactly \(d_n=L_n\), as in Shiu and OEIS A098464. [a] Fix a prime \(p\leq n\). Let Here \(q\) is the largest \(p\)-power at most \(n\), and \(k\) is the leading base-\(p\) digit of \(n\). Write \(L_n=qM\), where \(p\nmid M\). In every term with \(q\nmid j\) is divisible by \(p\). The remaining indices are \(j=rq\), \(1\leq r\leq k
\[
a_n\equiv M\sum_{r=1}^k r^{-1}=M H_k\pmod p.
\]
Because \(M\) is a unit modulo \(p\), This proves the live-page criterion without importing it. Define1. Primary-source literature check
2. Exact elementary reduction
2.1 Denominator identity
2.2 Leading-digit lemma, proved from scratch
Consequently the still-open set has the exact description
\[ \boxed{\; \mathcal G =\mathbb N\setminus \bigcup_{\substack{p\ {\rm prime}\\k\in B_p\\e\geq1}} [kp^e,(k+1)p^e-1]\;}. \tag{2.3} \]This is an exact reduction, not a probabilistic model.
Two useful sanity checks follow immediately.
- [a] \(H_1\not\equiv0\pmod p\), so for a finite cutoff \(N\), primes
\(p>N/2\) cannot mark any \(n\leq N\).
- [a] Pairing \(r\) with \(p-r\) gives \(H_{p-1}\equiv0\pmod p\) for every
odd \(p\). In particular \(2\in B_3\), proving the infinite \(>1\) half
via \([2\cdot3^e,3^{e+1}-1]\).
2.3 Logarithmic-rotation form of exactly what remains
[a] Since the base-\(p\) mantissa is
\(p^{\{\log n/\log p\}}\), (2.3) is equivalently the assertion that there are
infinitely many integers \(n\) such that, simultaneously for every \(p\leq n/2\),
\[ \left\{\frac{\log n}{\log p}\right\} \notin \bigcup_{k\in B_p} [\log_p k,\log_p(k+1)). \tag{2.4} \]This isolates the global obstacle: the number of rotations and the forbidden
sets both grow with \(n\).
3. Exact finite computation through \(10^8\)
3.1 Algorithms
The standalone standard-library verifier is
runs/erdos291_wave5q_verify.py.
It contains all source code and three checks.
1. [a + d] Factorial-residue interval sieve. For each relevant prime and
\(k
\[ F_0=1,\ S_0=0,\qquad S_k=kS_{k-1}+F_{k-1},\quad F_k=kF_{k-1}\pmod p. \]
Since \(k!\) is a unit modulo \(p\), \(S_k=0\) iff \(k\in B_p\). It then
marks every interval in (2.3).
2. [d] Independent complete implementation. It generates primes with a
separate segmented sieve whose base primes are found by trial division.
It computes modular inverses from
\[ k^{-1}\equiv-\lfloor p/k\rfloor\,(p\bmod k)^{-1}\pmod p \]
and accumulates \(H_k\) directly. Its interval loop is separately written.
3. [d] Direct rational check. Through \(n=10000\), Python Fraction
constructs \(H_n\), lcm constructs \(L_n\), and the program computes
\(\gcd(a_n,L_n)\) literally. Every value agrees with both interval sieves.
[a] Completeness of the finite search. If a bad interval contains some
\(n\leq N\), then \(kp^e\leq N\), hence \(kp\leq N\). Since \(H_1\neq0\),
we have \(k\geq2\), so \(p\leq N/2\), while
\(k\leq\min(p-1,\lfloor N/p\rfloor)\). These are exactly the primes and
digits traversed by both programs. Each program then visits every power
\(p^e\) with \(kp^e\leq N\). Conversely, (2.2) proves that every interval it
marks is genuinely bad. Thus, conditional on exact integer execution, the
finite mask is exhaustive rather than sampled.
The algorithm-complete core of the first computation is:
for p in primes_up_to(N // 2):
last = min(p - 1, N // p)
F, S = 1, 0
for k in range(1, last + 1):
S = (k * S + F) % p # S = k! H_k (mod p)
F = (k * F) % p # F = k! (mod p)
if S == 0:
q = p
while k * q <= N:
lo, hi = k*q, min((k+1)*q, N+1)
bad[lo:hi] = all_ones[:hi-lo]
q *= p
The complete executable version handles truncation, avoids overflow in the
power loop, computes statistics and hashes, and performs the two independent
cross-checks.
3.2 Verified table
[d] Let \(G(N)=\#\{1\leq n\leq N:(a_n,L_n)=1\}\). The two complete masks
agree at every index through \(10^8\).
| \(N\) | \(G(N)\) | \(N-G(N)\) |
|---:|---:|---:|
| 10 | 7 | 3 |
| 100 | 37 | 63 |
| 1,000 | 145 | 855 |
| 10,000 | 2,641 | 7,359 |
| 100,000 | 20,128 | 79,872 |
| 1,000,000 | 138,902 | 861,098 |
| 10,000,000 | 615,233 | 9,384,767 |
| 100,000,000 | 10,323,214 | 89,676,786 |
Further exact finite facts:
- [d] The good set in \([1,10^8]\) consists of 409 maximal intervals.
- [d] The longest good interval is
\([54,056,489,54,294,791]\), of length 238,303.
- [d] The longest bad interval wholly inside the cutoff is
\([56,896,849,78,489,877]\), of length 21,593,029.
- [d] The last good interval below the cutoff is
\([85,692,049,85,817,885]\); thus 85,817,885 is the largest verified good
value at this cutoff.
- [d] The first sieve found 3,342 relevant zero pairs \((p,k)\) and marked
3,610 prime-power intervals. It considered exactly 3,001,134 primes
through \(50,000,000\).
- [d] SHA-256 of the complete 100,000,001-byte mask
bad[0..100000000], with bad[0]=1, is
da51cc67e4c6912abe8a825998bb92d6403ce07721a290b54a2146ff3f7e73e3.
The independent implementation produced the identical digest.
- [d] Direct exact arithmetic at every \(n\leq10000\) also matched every
entry of the independently downloaded
The new exhaustive cutoff is \(10^4\) times the range of that b-file.
These counts oscillate strongly with the cutoff because a single prime-power
interval can occupy a macroscopic portion of \([1,N]\). They are not evidence
for a limiting constant, and no extrapolation from the table is used.
3.3 Reproduction
Run from the repository root:
/usr/bin/time -v python3 runs/erdos291_wave5q_verify.py \
--limit 100000000 \
--direct-limit 10000 \
--independent-limit 100000000 \
> runs/erdos291_wave5q_result.json
Recorded on this VM with Python 3.12.3:
- first full sieve: 16.205426 s;
- direct
Fractioncheck: 1.958539 s; - independent full sieve: 23.525928 s;
- total wall time reported by the program: 43.430842 s;
/usr/bin/timeelapsed time: 43.49 s;- maximum resident set: 456,940 KiB.
Artifacts and file hashes:
- verifier:
runs/erdos291_wave5q_verify.py,
SHA-256
6ad3b1796452b735e38e547b9edf405782550d84ffcea510e400989824262a18;
- captured result:
runs/erdos291_wave5q_result.json,
SHA-256
d54d1543ea1e470cc4b9b7bf5bb5c95fb3ff712b53ba8d8f5ec74dae0b26f359.
python3 -m py_compile runs/erdos291_wave5q_verify.py succeeds.
4. Why this does not close the open half
The finite calculation supplies genuine new checked range, but (2.3) makes the
missing uniform statement precise.
- [a] A proof of the open half must show that the complement of the
growing interval union (2.3) is unbounded, or equivalently find infinitely
many integer times satisfying all the growing avoidance constraints (2.4).
- [c] The random model treats a typical prime as imposing a cost close to
\(1-1/p\), so Mertens suggests a surviving proportion on the order of
\(1/\log n\). This is only a model: the base-\(p\) leading digits for
different \(p\) are coupled through the single integer \(n\).
- [a, conditional on the forum's quoted bound] Even granting
\(|B_p|\leq(3^{2/3}/2)p^{2/3}\), that estimate is not by itself a usable
lower-bound sieve for the complement. The unavoidable single digit
\(p-1\in B_p\) already gives a divergent prime-by-prime heuristic cost.
- [b/c] Kronecker equidistribution can control a fixed finite family
once the needed rational independence is assumed. The independence of
\(1/\log p\) for arbitrary finite prime families is itself unproved, and
fixed-dimensional equidistribution supplies no error uniform enough when
the family expands with \(n\). Wu–Yan need only align finitely many bad
intervals to obtain subsequences of high bad density; avoiding every bad
interval up to \(p\leq n/2\) is the opposite and stronger uniform task.
The exact missing lemma can therefore be stated as follows.
> Missing growing-prime avoidance lemma. Prove that there are arbitrarily
> large integers \(n\) for which, for every prime \(p\leq n/2\), the leading
> base-\(p\) digit of \(n\) is outside
> \(B_p=\{k This lemma is equivalent to the unresolved gcd-\(1\) half by (2.2), so merely assuming it would be circular. Neither the cited fixed-prime machinery nor the forum's proposed dependence-baking argument currently supplies it. [c: cost extrapolation only] A brute-force extension to \(10^9\) with the same double implementation would scale to roughly 0.12–0.17 single-core hours and 4–5 GiB RAM (about 7–10 minutes, under one cent of CPU at \(\$0.05\)/core-hour). It would extend the table but would not address this uniformity lemma, so I did not spend that compute. PARTIAL: The open half is reduced exactly to a growing-prime leading-digit avoidance problem, and two independent exhaustive sieves certify 10,323,214 gcd-\(1\) values through \(10^8\); infinitude remains unproved because the required uniform simultaneous-avoidance lemma is missing.