|
|
A215476
|
|
Minimum number of comparisons needed to find the median of n elements.
|
|
1
|
|
|
0, 1, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 23
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Dor and Zwick 1999 prove a(n) <= 2.95n + o(n).
Dor and Zwick 2001 prove a(n) >= (2+2^(-80))n - o(n).
|
|
REFERENCES
|
D. Dor and U. Zwick, Median selection requires (2+epsilon)n comparisons, SIAM J. Discrete Math 14(3):312-325, 2001.
D. Dor and U. Zwick, Selecting the median, SIAM J. Comput. 28(5):1722-1758, 1999.
D. E. Knuth, The Art of Computer Programming, Vol. 3, 2nd edition, Sect. 5.3.2.
Kenneth Oksanen, Searching for selection algorithms, Elec. Notes Discrete Math. 27:77, 2006.
|
|
LINKS
|
|
|
FORMULA
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Added three more terms (from Kenneth Oksanen), Jeff Erickson, Aug 13 2012
|
|
STATUS
|
approved
|
|
|
|