Skip to content

Iterated block sorting and a maximum over primes

Islam Mederov

math.NT

Abstract

We start with the positive integers in increasing order. At stage t≥2t\ge2 we fix the first tt entries and sort each remaining block of length tt in decreasing order if tt is prime and in increasing order otherwise. Let b(j)b(j) be the eventual value at position jj, and let pip_i be the ii-th prime. We prove Mikhail Kurkov's conjecture that b(pn−1+1)=max⁡1≤i≤npi(n+1−i)b(p_{n-1}+1)=\max_{1\le i\le n}p_i(n+1-i) for every n≥2n\ge2 except n=5n=5, when b(8)=16b(8)=16 and the maximum is 1515. David Wasserman used this same maximum to give a lower bound in the problem of Erdős, Freud and Hegyvári on least common multiples of adjacent terms in a permutation. We prove the sorting identity by counting entries at most a given threshold and checking a finite range of indices. We also formalize the identity in Lean. Each b(p+1)b(p+1) with pp prime is a strict record, and the running maximum through position xx is asymptotic to x2/(4log⁡x)x^2/(4\log x).

Create a lesson

Metadata

Categories
math.NT, math.CO
Comments
9 pages