A search for a key k follows the same probe sequence as was followed when the element with key k was inserted. Thus, if k was the (i + 1)th key inserted into the hash table, the expected number of probes made in a search for k is at most
= | |||
= | Hm - Hm - n |
where
(Hm - Hm - n) | lnm + 1 - ln(m - n) | ||
= | ln + | ||
= | ln + |