Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Source. Theorem 2, Section 1, p. 2 of arXiv:1607.02863v2 (30 July 2024), proof in Section 3, p. 4; read on the PDF pages in the text layer. Preprint, not published in a journal (arXiv listing checked). Notation: Hn=cn/dnH_n=c_n/d_n in lowest terms, Dn=lcm(1,…,n)=dnqnD_n=\mathrm{lcm}(1,\ldots,n)=d_nq_n, and for an odd prime pp, Ep={n:1<n<p, p∣cn}E_p=\{n:1<n<p,\ p\mid c_n\} and Qp={n:p∣qn}Q_p=\{n:p\mid q_n\}.

Statement

Theorem 2 (p. 2). For every m∈Epm\in E_p and every a≥1a\ge1, each integer nn with

mpa≤n<(m+1)pamp^a\le n<(m+1)p^a

(display (2)) lies in QpQ_p; conversely, every n∈Qpn\in Q_p satisfies (2) for some m∈Epm\in E_p and some a≥1a\ge1.

In words: for an odd prime p≤np\le n, pp divides Dn/dnD_n/d_n exactly when the leading digit mm of nn in base pp satisfies p∣cmp\mid c_m, the numerator of HmH_m. Since p−1∈Epp-1\in E_p for every odd prime pp (display (1): pairing 1/j1/j with 1/(p−j)1/(p-j) shows p∣cp−1p\mid c_{p-1}), every n≥pn\ge p whose leading digit in base pp is p−1p-1 lies in QpQ_p; the one-digit n=p−1n=p-1 does not, since p∤Dp−1p\nmid D_{p-1}.

Proof pointer and sketch (Section 3)

If mpa≤n<(m+1)pamp^a\le n<(m+1)p^a with m∈Epm\in E_p, then pa∣Dnp^a\mid D_n and Hn=Hm/pa+∑k≤n, pa∤k1/kH_n=H_m/p^a+\sum_{k\le n,\,p^a\nmid k}1/k; the first term is (cm/p)/(pa−1dm)(c_m/p)/(p^{a-1}d_m) with p∣cmp\mid c_m and p∤dmp\nmid d_m, so pa∤dnp^a\nmid d_n and p∣qnp\mid q_n. Conversely, for n∈Qpn\in Q_p write pa≤n<pa+1p^a\le n<p^{a+1} and m=⌊n/pa⌋m=\lfloor n/p^a\rfloor; if m∉Epm\notin E_p the same decomposition gives pa∣dnp^a\mid d_n, and since pa+1∤Dnp^{a+1}\nmid D_n this contradicts p∣qnp\mid q_n. The argument is half a page and was read through here, not independently reviewed.

Dependencies and read depth

Elementary (pp-adic valuations of the partial sums). Read depth: claims checked; the proof read through, not verified. As a consistency check, the criterion that p∣(an,Ln)p\mid(a_n,L_n) if and only if pp divides the numerator of HmH_m, mm the leading digit of nn in base pp, was verified here by exact arithmetic for all odd primes p<60p<60 and all n≤3000n\le3000 with p≤np\le n (47,578 pairs, no exception).

Relation to Problem 291

With ∑k≤n1/k=an/Ln\sum_{k\le n}1/k=a_n/L_n as on the problem page, dn=Ln/(an,Ln)d_n=L_n/(a_n,L_n), so qn=(an,Ln)q_n=(a_n,L_n) and n∈Qpn\in Q_p exactly when p∣(an,Ln)p\mid(a_n,L_n). The theorem is therefore the site's necessary and sufficient condition for an odd prime p≤np\le n to divide (an,Ln)(a_n,L_n) (the prime 22 never divides it, since qnq_n is odd, p. 2), and its special case m=p−1m=p-1 is the observation the site attributes to Steinerberger; with p=3p=3, m=2m=2 it gives 3∣(an,Ln)3\mid(a_n,L_n) for 2⋅3a≤n<3a+12\cdot3^a\le n<3^{a+1}, a≥1a\ge1. This settles the second half of Problem 291. The first half asks whether qn=1q_n=1 infinitely often, which in this language means that nn avoids all the intervals (2) for all odd primes p≤np\le n; the theorem reduces the question to that avoidance problem but does not answer it.

Bears on. #291 (the exact criterion; the trivial half).