Quote:
Originally Posted by robert44444uk
The median result looks odd to me, especially the median at 1e7 compared to 1e8. Maybe its my program!

I investigated this further, and there are very large swings in the median calculation depending on the absolute numbers of gaps by size in a given range. For example between 1.4e7 and 1.5e7 the median gap is 16, with merit 0.968 whereas for 1.5e7 to 1.6e7 the median gap is 12 with merit 0.726. If there had been just two more 12 gaps in the 1.4e7 to 1.5e7 range, then the median gap would have been 12 and not 16.
Hence median gaps are less helpful for analysis.