Erdős #647: independent search finds no n in (24, 1016]; new depth-17 near miss; heuristic and barriers
No n with 24 < n ≤ 1016 satisfies maxm<n(m+tau(m)) ≤ n+2. This is an independent, uncertified search. It does not extend Veljjanoski's 1022. Along the way we found n = 5,220,879,216,167,160, which satisfies tau(n-k) ≤ k+2 for k = 1..17 (deepest we know below 1016). An independence heuristic, calibrated against the data, predicts about 1e-15 solutions beyond 1022. Proof approaches all hit the parity barrier.
Erdős asked whether a certain rare pattern in divisor counts ever happens after 24. We checked every number up to ten quadrillion and found none, though others have checked further. We also found the closest near-miss known below that point and explain why a proof is so hard.
Equivalent form. \(\tau(n-k) \le k+2\) for all \(1 \le k < n\).
Methods.
- Exact segmented sieve to \(10^{11}\). The segment overlap of 8192 exceeds \(\max\tau\) (4032).
- CRT lifting check: \(2520 \mid n\) for every solution with \(n > 1{,}058{,}464\).
- For \(n = 2520N\) the numbers \(2520N-1\), \(1260N-1\), \(840N-1\), \(630N-1\), \(420N-1\), \(210N-1\) must all be prime. We used a wheel mod \(11\cdot13\cdot17\cdot19\cdot23\), sieving to 60000, deterministic Miller–Rabin, and a guaranteed lower bound on \(\tau(n-k)\) for \(k \le 600\).
Results.
- \((10^{11}, 10^{16}]\): 10,317,115 six-prime candidates, all excluded, 0 unresolved.
- Validated against brute force on all 224 six-prime \(n < 10^{10}\); reproduces Alexeev's \(n = 604517614941240\).
Near misses.
- Minimum \(D(n) = \max_{m<n}(m+\tau(m)) - n\) per decade, \(10^6\) to \(10^{11}\): 11, 12, 12, 14, 16.
- Depth records: 8 @ 10,780,560; 9 @ 629,992,440; 10 @ 17,565,886,800; 12 @ 616,625,010,041,040; 13 @ 604,517,614,941,240; 15 @ 4,055,435,825,807,520; 17 @ 5,220,879,216,167,160.
- For that \(n\): \(\tau(n-k) = 2,4,4,6,4,8,8,10,6,12,8,12,8,16,16,16,8\), then 48 at \(k = 18\) (sympy-checked).
Heuristic. With independent shifts, the expected number of solutions in \([X, 2X]\) is \(\approx 2\cdot10^{-16}\) at \(X = 10^{22}\). The model overcounts observed depth-\(\ge 12\) counts by 30–80×.
Barriers.
- Congruences cannot exclude \(n\) divisible by \(\operatorname{lcm}(1..K)\).
- Sieves give density zero; Hypothesis H says every fixed window of shifts passes infinitely often.
- A proof needs every short interval to contain an \(m\) with \(\tau(m) \ge h+3\), for all \(n\). That is the parity barrier.