Y25t's blog

By Y25t, history, 3 years ago, In English

In a rooted tree $$$T$$$, let $$$dep_u$$$ be the distance from $$$u$$$ to the root, $$$dis_u$$$ be the distance from $$$u$$$ to the deepest leaf in $$$u$$$'s subtree.

Let $$$f(T)=\sum_{u\in T} dep_u\times dis_u$$$.

Someone says that the expected number of $$$f(T)$$$ is $$$O(n\sqrt{n})$$$ when $$$T$$$ is uniformly randomly chosen from all $$$n$$$ vertices rooted trees.

How to prove it?

Full text and comments »

  • Vote: I like it
  • +52
  • Vote: I do not like it