arXiv · 2612.02738
Iterated block sorting and a maximum over primes
Abstract
We start with the positive integers in increasing order. At stage $t\ge2$ we fix the first $t$ entries and sort each remaining block of length $t$ in decreasing order if $t$ is prime and in increasing order otherwise. Let $b(j)$ be the eventual value at position $j$, and let $p_i$ be the $i$-th prime. We prove Mikhail Kurkov's conjecture that $b(p_{n-1}+1)=\max_{1\le i\le n}p_i(n+1-i)$ for every $n\ge2$ except $n=5$, when $b(8)=16$ and the maximum is $15$. 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)$ with $p$ prime is a strict record, and the running maximum through position $x$ is asymptotic to $x^2/(4\log x)$.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Islam Mederov. 2026-12-01. Iterated block sorting and a maximum over primes. https://searcharxiv.org/abs/2612.02738
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.