Posts

Why The Nine Doesn’t Matter

One thing that my grandfather is superstitious about is that the car number must  always add up to 7. So when we were buying a car recently, he checked with me if we’d asked the car dealer about this, and what number had been allotted. It was 8179.    So I added the digits: 8 + 1 + 7 + 9 = 25 Adding the digits again to reduce to a single number: 2 + 5 = 7 So all good.   Then it struck me that even without the 9, the 8 + 1 + 7 added up to 16, which also gave a total of 7. Curious, I then tried it for some other numbers.   2936? 2 + 9 + 3 + 6 = 20 Reducing to one digit: 2 + 0 = 2 And now, just 2 + 3 + 6 = 11 1 + 1 = 2!   1891? 1 + 8 + 9 + 1 = 19 Reducing: 1 + 9 = 10 Reducing to one digit: 1 + 0 = 1 And now, just 1 + 8 + 1 = 10 1 + 0 = 1!   So it appears that the 9 does not matter. But why?   This is operation modulo (or mod for short, expressed as %) at work. Mod is an operation whose result is the remainder when one number is divided by another. Fo...

The Plane Seat Problem

I came across this riddle about aeroplanes and probability (two of my favourite topics!): There are 100 passengers lined up (in a random order) to board a plane. The plane is fully booked, meaning there are exactly 100 seats available, assigned to the 100 passengers. The first passenger chooses a seat at random, with all seats equally likely. Then, each of the other passengers proceeds as follows: if their assigned seat is free, they will sit in it; otherwise, they will take a random available seat. What is the probability that the last passenger will sit in their assigned seat? Here's my analysis (using the terminology P1-P100 for the passengers, S1-S100 for the assigned seats, and DP1-DPn for the “displaced” passengers): For passenger P1:  P1 (randomly) makes one of   three choices: Sits in his own seat (S1) , in which case everyone sits in their assigned seat.  Sits in the last passenger’s seat (S100) , in which case everyone else sits in their assigned seat, except P1...

The Monty Hall Problem

I first saw this problem when I was watching the movie  ‘ 21’ . The re is a short classroom scene where Professor Micky Rosa tests Ben Campbell with what sounds like a simple probability puzzle.  This is their conversation. Professor: Ben, suppose you're on a game show and you are given a chance to choose from three different doors. Now behind one of the doors is a new car and behind the other two – goats. Which door would you choose?    Ben: Door number 1.    Professor: Ben chooses door number 1! The game show host, who by the way knows what's behind all the other doors, decides to open another door. Let's say he chooses door number 3… behind which sits a goat. Now, Ben – the game show host comes up to you and says, “Ben, do you want to stay with door number 1 or go with door number 2”? Now is it in your interest to switch your choice?   Ben: Yeah.   Professor: Well, wait – remember the host knows where the car is so how do you know he's not play...

The Dishoom Dice

This  story is about an  Indian restaurant in London called   ‘Dishoom’ ,  which has ingeniously applied probability theory and economics to its business model.    Dishoom found that while they are generally booked out, they tend to have vacant tables before 6pm, Monday to Thursday. So, they came up with a unique loyalty program in which members who pay their bill before 6pm, Monday to Thursday, are given a die to roll at the end of their meal; if a 6 is rolled, the meal is free. Apart from the maths (discussed below), the idea is clever because of its simplicity and the buzz that it has been able to create.   Here's the maths.     For the customer, there’s the excitement of the possible free meal and the luck of the roll – a 1 out of 6 chance that the meal will be free. However, the mathematical analysis is as follows. Assuming a meal cost of £60, the customer’s expected saving is (1/6 × 60) + (5/6 x 0) = £10 pe r the expected...