Empirically Improved Tokuda Gap Sequence in Shellsort
Abstract
Experiments are conducted to improve Tokuda (1992) gap sequence in Shellsort into γ-sequences, and the best result is the gap sequence in which the k-th increment hk is given by align hk= γk-1γ-1 align , where γ=2.243609061420001... and k∈N1. The first few increments of the gap sequence are align 1,\, 4,\, 9,\, 20,\, 45,\, 102,\, 230,\, 516,\,1158,\,2599,\,5831,\,13082,\,29351,\,65853,\, 147748,\,331490,\,743735,\, ...alignIt empirically yields less numbers of comparison on average than Tokuda (1992) gap sequence. In the procedure of search, it reveals the potential existence of a new type of fractal.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.