Abstract

This study provides a detailed analysis of a function which Knuth discovered to play a central rôle in the analysis of hashing with linear probing. The function, named after Knuth Q( n), is related to several of Ramanujan's investigations. It surfaces in the analysis of a variety of algorithms and discrete probability problems including hashing, the birthday paradox, random mapping statistics, the “rho” method for integer factorization, union-find algorithms, optimum caching, and the study of memory conflicts. A process related to the complex asymptotic methods of singularity analysis and saddle point integrals permits to precisely quantify the behaviour of the Q( n) function. In this way, tight bounds are derived. They answer a question of Knuth ( The Art of Computer Programming, Vol. 1, 1968, [Ex. 1.2.11.3.13]), itself a rephrasing of earlier questions of Ramanujan in 1911–1913.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.