On a random search tree: asymptotic enumeration of vertices by distance from leaves

preprint2015arXivOpen access

Abstract

A random binary search tree grown from the uniformly random permutation of [n][n] is studied. We analyze the exact and asymptotic counts of vertices by rank, the distance from the set of leaves. The asymptotic fraction ckc_k of vertices of a fixed rank k≥0k\ge 0 is shown to decay exponentially with kk. Notoriously hard to compute, the exact fractions ckc_k had been determined for k≤3k\le 3 only. We computed c4c_4 and c5c_5 as well; both are ratios of enormous integers, denominator of c5c_5 being 274274 digits long. Prompted by the data, we proved that, in sharp contrast, the largest prime divisor of ckc_k's denominator is 2k+1+12^{k+1}+1 at most. We conjecture that, in fact, the prime divisors of every denominator for k>1k>1 form a single interval, from 22 to the largest prime not exceeding 2k+1+12^{k+1}+1.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.