Blog

March 9, 2021

“Trust your intuition; it never lies.”, a saying most of us have heard and might strongly agree with. But at Factors this week, things were quite different when we had a session on “Intuition can only take us so far”. The idea was to relook at known concepts -- concepts we use more often than not -- and reimagine their implications from different perspectives. This article is an account of the one-hour discussion. We associate the word “factors” with different concepts at different times. Here, we associate it with maths!

We started with the following story from “How Mathematicians Think” by Willian Byers:

A mathematician is flying non-stop from Edmonton to Frankfurt with Air Transat. The scheduled flying time is nine hours. Sometime after taking off, the pilot announces that one engine had to be turned off due to mechanical failure: "Don't worry -- we're safe. The only noticeable effect this will have for us is that our total flying time will be ten hours instead of nine." A few hours into the flight, the pilot informs the passengers that another engine had to be turned off due to mechanical failure: "But don't worry -- we're still safe. Only our flying time will go up to twelve hours." Sometime later, a third engine fails and has to be turned off. But the pilot reassures the passengers: "Don't worry -- even with one engine, we're still perfectly safe. It just means that it will take sixteen hours total for this plane to arrive in Frankfurt." The mathematician remarks to his fellow passengers: "If the last engine breaks down, too, then we'll be in the air for twenty-four hours altogether!"

Well, from basic math knowledge, you might find the next number in the sequence 9, 10, 12, 16 to be 24. Here’s how you find it. The first four numbers could be broken down as follows:

9 = 9

10 = 9+2⁰

12 = 9+2⁰+2¹

16 = 9+2⁰+2¹+2²

Pretty clearly, the next number in the sequence has to be 9+2⁰+2¹+2²+2³ = 24.

But does that mean the plane will stay in the air for 24 hours? No. It has only four engines. And if the last one breaks down too, the pilots would either perform an emergency landing or, in the unfortunate case, it would lead to a fatal crash. This shows both the strength and the fragility of maths. While in the first four cases, we could accurately measure how long the journey would take, as soon as the conditions are changed (i.e., gliding into the air instead of being thrusted by engines), the dynamics of motion change too.

Following is an example the “professor of professors”, Prof. Vittal Rao had given in one of his talks: Imagine you have some identical coins you are supposed to distribute among some identical people. How would you do that? Or more mathematically: *In how many different ways P(n) can you distribute n identical coins to any number of identical people?* Let us understand the problem by taking cases:

- The only way to do that is to give it to a single person:
**o**. Hence,*P(1) = 1*.

Distribute 2 coins. Here are two different ways:

- You either give both coins to one person:
**oo** - Or you take two people and hand them a coin each:
**o|o**

Hence, *P(2) = 2*.

Distribute 3 coins. What do you think *P(3)* should be? If *P(1) = 1, P(2) = 2*, we could expect *P(3) *to be 3, right? Let’s see.

**ooo****oo|o****o|o|o**

And 3 it is! Hence, *P(3) = 3.*

Now this drives our intuition even further. The sequence we have seen until now has been 1, 2, 3. So it’s natural to assume *P(4)* to be 4. Let us enumerate all cases again.

**oooo****ooo|o****oo|oo****oo|o|o****o|o|o|o**

We have 5 ways to distribute 4 coins -- this beats our intuition. We get *P(4) = 5.*

With new information in hand (i.e., the sequence being 1, 2, 3, 5), we could update our intuition and say this matches the Fibonacci sequence, and expects it to follow 1, 2, 3, 5, 8, 13, ... Let’s see what happens with 5 coins in hand:

**ooooo****oooo|o****ooo|oo****ooo|o|o****oo|oo|o****oo|o|o|o****o|o|o|o|o**

We get *P(5) = 7* (not 8 as we had expected).

Now what? We could now turn to a different logic: They are either odd numbers (barring the extra ‘2’) following 1, 2, 3, 5, 7, 9, 11, …, or prime numbers (barring the extra ‘1’) following 1, 2, 3, 5, 7, 11, 13, ..., giving *P(6)* to be either 9 or 11 respectively. Taking *n = 6*, we have:

**oooooo****ooooo|o****oooo|oo****ooo|ooo****oooo|o|o****ooo|oo|o****oo|oo|oo****ooo|o|o|o****oo|o|o|oo****oo|o|o|o|o****o|o|o|o|o|o**

That’s 11 ways! The prime-number logic worked.

Going by the same logic, we would expect *P(7)* to be 13 (the next prime number). Now, if you would go on and calculate it, we would have *P(7)* to be, in fact, equal to 15 (please go ahead and enumerate them).

In fact, it turns out that the sequence P(n) expands as follows: 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, etc. You could take a moment and think about it intuitively, but chances are rare that you would come up with the following formula:

approximating *P(n)*, where we have:

The foregoing formula was derived by the well-renowned mathematician Srinivasa Ramanujan (along with G. H. Hardy). This illustrates the fact that intuition could take us only so close to the solution, and formal maths might have to be invoked in some cases.

AtFactors, we support the philosophy of crunching numbers (rather than intuition) toprovide intelligent marketing insights, which are only a demo away for you to experience. To read more such articles,visit our blog,follow us on LinkedIn, orread more about us.

Find the next article in this series here.

Blog

March 9, 2021

“Trust your intuition; it never lies.”, a saying most of us have heard and might strongly agree with. But at Factors this week, things were different when we had a session on “Intuition can only take us so far”. The idea was to relook at known concepts -- concepts we use more often than not -- and reimagine their implications from different perspectives. This article is an account of the one-hour discussion. We associate the word “Factors” with different concepts at different times. Here, we associate it with Mathematics!

“Trust your intuition; it never lies.”, a saying most of us have heard and might strongly agree with. But at Factors this week, things were quite different when we had a session on “Intuition can only take us so far”. The idea was to relook at known concepts -- concepts we use more often than not -- and reimagine their implications from different perspectives. This article is an account of the one-hour discussion. We associate the word “factors” with different concepts at different times. Here, we associate it with maths!

We started with the following story from “How Mathematicians Think” by Willian Byers:

A mathematician is flying non-stop from Edmonton to Frankfurt with Air Transat. The scheduled flying time is nine hours. Sometime after taking off, the pilot announces that one engine had to be turned off due to mechanical failure: "Don't worry -- we're safe. The only noticeable effect this will have for us is that our total flying time will be ten hours instead of nine." A few hours into the flight, the pilot informs the passengers that another engine had to be turned off due to mechanical failure: "But don't worry -- we're still safe. Only our flying time will go up to twelve hours." Sometime later, a third engine fails and has to be turned off. But the pilot reassures the passengers: "Don't worry -- even with one engine, we're still perfectly safe. It just means that it will take sixteen hours total for this plane to arrive in Frankfurt." The mathematician remarks to his fellow passengers: "If the last engine breaks down, too, then we'll be in the air for twenty-four hours altogether!"

Well, from basic math knowledge, you might find the next number in the sequence 9, 10, 12, 16 to be 24. Here’s how you find it. The first four numbers could be broken down as follows:

9 = 9

10 = 9+2⁰

12 = 9+2⁰+2¹

16 = 9+2⁰+2¹+2²

Pretty clearly, the next number in the sequence has to be 9+2⁰+2¹+2²+2³ = 24.

But does that mean the plane will stay in the air for 24 hours? No. It has only four engines. And if the last one breaks down too, the pilots would either perform an emergency landing or, in the unfortunate case, it would lead to a fatal crash. This shows both the strength and the fragility of maths. While in the first four cases, we could accurately measure how long the journey would take, as soon as the conditions are changed (i.e., gliding into the air instead of being thrusted by engines), the dynamics of motion change too.

Following is an example the “professor of professors”, Prof. Vittal Rao had given in one of his talks: Imagine you have some identical coins you are supposed to distribute among some identical people. How would you do that? Or more mathematically: *In how many different ways P(n) can you distribute n identical coins to any number of identical people?* Let us understand the problem by taking cases:

- The only way to do that is to give it to a single person:
**o**. Hence,*P(1) = 1*.

Distribute 2 coins. Here are two different ways:

- You either give both coins to one person:
**oo** - Or you take two people and hand them a coin each:
**o|o**

Hence, *P(2) = 2*.

Distribute 3 coins. What do you think *P(3)* should be? If *P(1) = 1, P(2) = 2*, we could expect *P(3) *to be 3, right? Let’s see.

**ooo****oo|o****o|o|o**

And 3 it is! Hence, *P(3) = 3.*

Now this drives our intuition even further. The sequence we have seen until now has been 1, 2, 3. So it’s natural to assume *P(4)* to be 4. Let us enumerate all cases again.

**oooo****ooo|o****oo|oo****oo|o|o****o|o|o|o**

We have 5 ways to distribute 4 coins -- this beats our intuition. We get *P(4) = 5.*

With new information in hand (i.e., the sequence being 1, 2, 3, 5), we could update our intuition and say this matches the Fibonacci sequence, and expects it to follow 1, 2, 3, 5, 8, 13, ... Let’s see what happens with 5 coins in hand:

**ooooo****oooo|o****ooo|oo****ooo|o|o****oo|oo|o****oo|o|o|o****o|o|o|o|o**

We get *P(5) = 7* (not 8 as we had expected).

Now what? We could now turn to a different logic: They are either odd numbers (barring the extra ‘2’) following 1, 2, 3, 5, 7, 9, 11, …, or prime numbers (barring the extra ‘1’) following 1, 2, 3, 5, 7, 11, 13, ..., giving *P(6)* to be either 9 or 11 respectively. Taking *n = 6*, we have:

**oooooo****ooooo|o****oooo|oo****ooo|ooo****oooo|o|o****ooo|oo|o****oo|oo|oo****ooo|o|o|o****oo|o|o|oo****oo|o|o|o|o****o|o|o|o|o|o**

That’s 11 ways! The prime-number logic worked.

Going by the same logic, we would expect *P(7)* to be 13 (the next prime number). Now, if you would go on and calculate it, we would have *P(7)* to be, in fact, equal to 15 (please go ahead and enumerate them).

In fact, it turns out that the sequence P(n) expands as follows: 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, etc. You could take a moment and think about it intuitively, but chances are rare that you would come up with the following formula:

approximating *P(n)*, where we have:

The foregoing formula was derived by the well-renowned mathematician Srinivasa Ramanujan (along with G. H. Hardy). This illustrates the fact that intuition could take us only so close to the solution, and formal maths might have to be invoked in some cases.

AtFactors, we support the philosophy of crunching numbers (rather than intuition) toprovide intelligent marketing insights, which are only a demo away for you to experience. To read more such articles,visit our blog,follow us on LinkedIn, orread more about us.

Find the next article in this series here.