Standing in line

Let there be N N people standing in a line, all facing forward and able to see the people in front of them.

How large does N N have to be for the expected number of people who can correctly assert "I am taller than everyone standing in front of me" to exceed 4?


The answer is 31.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Denton Young
Jun 11, 2017

Let us find the general solution for N N people.

Let E ( N ) E(N) be the expected number of people able to correctly assert the statement. If we remove the last person in line, then we have N 1 N-1 people in line and our expected value is E ( N 1 ) E(N-1) . Now add back the last person. The chance of them being the tallest person in line is 1 / N 1/N , so E ( N ) = E ( N 1 ) + 1 / N E(N) = E(N-1) + 1/N . Clearly E ( 1 ) = 1 E(1) = 1 , so crank the handle:

E ( N ) = 1 + 1 / 2 + 1 / 3 + . . . + 1 / N E(N) = 1 + 1/2 + 1/3 + ... + 1/N .

This is the harmonic series. It first exceeds 4 at N = 31 N = 31

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...