Iterated block sorting and a maximum over primes
Abstract
We start with the positive integers in increasing order. At stage we fix the first entries and sort each remaining block of length in decreasing order if is prime and in increasing order otherwise. Let be the eventual value at position , and let be the -th prime. We prove Mikhail Kurkov's conjecture that for every except , when and the maximum is . 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 with prime is a strict record, and the running maximum through position is asymptotic to .
Create a lesson
Metadata
- Categories
- math.NT, math.CO
- Comments
- 9 pages
Related papers
Connected components of the rational Richelot isogeny graph of superspecial abelian surfaces over a prime field
Shared title terminologymath.NTHung Dang
Explicit estimates for primes in arithmetic progressions in short intervals under GRH
Shared title terminologymath.NTAdrian Dudek, Ethan Simpson Lee
Diagonal Approximation in Prime-Square Chains
Shared title terminologymath.NTIrina Yaroshevskaya
Leading Digits of Primes: Closed Forms to All Orders, Divergence and the Riemann Hypothesis
Shared title terminologymath.NTJames M. Hyman
Asymptotic estimates for sifted sums involving the Möbius function and the number of prime factors
Shared title terminologymath.NTYazan Alamoudi, Krishnaswami Alladi
Large-prime residue bounds for reciprocal fractional-part sums
Shared title terminologymath.NTAhmadreza Azimifard