OU blog

Personal Blogs

Richard Walker

"Harvard Interview Question: 90% were eliminated"

Visible to anyone in the world

I'm disbelieving of this being a Harvard Interview Question, but that is the title given to a question circulating on social media. It runs as follows:

"7 men have 7 wives. Each man and each wife have 7 children. What's the total number of people?"

It's ambiguous and that's probably why it has gone viral, with people offering a variety of answers and opinions and even the occasional quip, such as "Were they going to St Ives?".

So it's not the maths that is interesting but the impetus to debate, discuss wrangle, argue. disagree and tut about the ambiguity.

Still, to get back to the boring old maths, I thought I would ask:

If 7 is replaced by n, what is the smallest answer that we could put forward a case for, and what is the largest?

Permalink
Share post

Comments

Steven McDonald

New comment

A naïve interpretation is that there are a total of n men and n wives, with one wife per man. Each of n couples has n children, so the total number of people is two times n plus n squared .

But we can go smaller than this! If we allow there to be more than one generation, some of the children can also be men and wives. For the first generation, we have 1 man and 1 wife with n children. If n is even, then (permitting incestuous marriages) we have one divided by two times n couples in the second generation, leading to one divided by two times n squared grandchildren which can form one divided by four times n squared couples, which is always greater than the one divided by two times n minus one couples we have left to handle. So the number of great-grandchildren is one divided by two times n squared minus n , for a total of two plus n squared people.

In the case of odd n greater than or equals three , we instead have one divided by two times left parenthesis n minus one right parenthesis couples among children, for a total of one divided by two times n times left parenthesis n minus one right parenthesis grandchildren and one divided by two times n times left parenthesis n minus one right parenthesis great-grandchildren, so the total number of people is still two plus n squared . Finally, for n equals one we do not have enough children to produce any grandchildren, for a total of 2 parents and 1 child, which is still two plus n squared .

For the largest answer, I would argue that we have n men with n wives each, for a total of n squared wives. Now, considering that "each man and each wife" does not specify whose wife is involved, it is a valid interpretation that each man has n children with all the wives, leading to n cubed couples each having n children. In this case, the total number of people is sum with 3 summands n plus n squared plus n super four .

Richard Walker

New comment

Phew that's impressive, it never occurred to me that some of the children could also be amongst the parents! (Perhaps this is a Harvard Interview question after all 🤣!)

So to take the smallest case, how would that pan out with a concrete number, say with n = 7 as per the original question?

Steven McDonald

New comment

In the smallest case with n=7, we start with 2 people, the original parents. Since n=7, this couple has 7 children.

In the second generation, 6 of our 7 children form 3 couples, with 1 child left over, and each has another 7 children. So there are 21 grandchildren in the third generation.

Now we have had 1 couple in the first generation, and 3 in the second generation, and we need a total of 7 couples. So 6 of the 21 grandchildren form another 3 couples to complete the set, and they each have another 7 children, so there are 21 great-grandchildren.

The total number of people is then 2 parents + 7 children + 21 grandchildren + 21 great-grandchildren = 51 = two plus seven squared .