Elementary Yet Precise Worst-case Analysis of MergeSort, A short version (SV)
arXiv:1702.08443
Abstract
This paper offers two elementary yet precise derivations of an exact formula \[ W(n) = \sum_{i=1} ^{n} \lceil \lg i \rceil = n \lceil \lg n \rceil - 2^{\lceil \lg n \rceil} + 1 \] for the maximum number of comparisons of keys performed by on an -element array. The first of the two, due to its structural regularity, is well worth carefully studying in its own right. Close smooth bounds on are derived. It seems interesting that is linear between the points and it linearly interpolates its own lower bound between these points.
25 pages, 12 figures, three of which contain working Java methods