# Will Someone Be Sitting In Your Seat On The Plane?

Expanding on the Riddler's Problem

This week's Riddler puzzle on FiveThirtyEight features the following questions:

There’s an airplane with 100 seats, and there are 100 ticketed passengers each with an assigned seat. They line up to board in some random order. However, the first person to board is the worst person alive, and just sits in a random seat, without even looking at his boarding pass. Each subsequent passenger sits in his or her own assigned seat if it’s empty, but sits in a random open seat if the assigned seat is occupied. What is the probability that you, the hundredth passenger to board, finds your seat unoccupied?

Coincidentally, I had seen “the lost boarding pass” problem described and solved using R on David Robinson's blog. In short, the answer is 50%. In asking for special extensions to the problem, I decided to evaluate if the probability remains constant across plane size. In fact, it does.

An Airbus A380 has a maximum passenger capacity of 538 seats, which I rounded up to 600 for my maximum plane size. As seen below, it doesn't matter the size of the plane - the probability of the last passenger sitting in his assigned seat is always 1/2.

In fact, as long as you are not one of the last passengers to board the airplane, you have an extremely high probability of sitting in your correct seat.

We can in fact be a bit more precise. As long as you are not one of the last 10 passengers to board the plane, regardless of the size of the plane, you have a greater than 90% chance of sitting in your correct seat.