Here is my proposed solution to MMM6. (Questions, for the uninitiated or forgetful, are here.)
I actually found these problems to be on the easier side (solved both parts in less than 30 minutes), but I tend to be hasty when I work things out, and overconfident in my thinking, so chances are I’m not right on both counts. So here’s throwing caution to the wind and hoping that I got it right.
(Also, if you liked the problem, don’t forget to look for my generalized problem. Solution to be posted soon.)
Part I Solution:
I created a matrix
which represented the [mayonaise, ketchup] initially. I also created a matrix
which represented how much [mayonaise, ketchup] I was adding at each iteration. I let
which is our “normalization” factor. (You’ll see…)
After the first iteration, we have
which turns out to be
. You see now what the
does? It makes sure that we have 500 gallons total in the vat.
After the second iteration, we have
which simplifies to
.
After the third iteration, we have
which simplifies to
.
And you can see the pattern. After the nth iteration, we will have
.
Now we’re almost done, believe it or not. We can use
to find out how much mayo is in the vat. (Note that since
, the
doesn’t contribute to the mayo.)
We want to find when the mayo is around 250. The mayo after the nth iteration is
. So we have to solve the equation:

A simple manipulation (taking the log of both sides) yields
.
Of course a simpler way to think about this is to say that you start out with 500 gallons of mayo. After n iterations, you’ll have
gallons of mayo. That brings you to the very last step, which is quickly solvable.
But even though that’s the simpler way to do it, it isn’t the way I started thinking about it. I freely admit that I don’t always find the simplest solution… but it certainly helps when doing generalizations!
What happens if we have add 3 gallons of mayo and 7 gallons of ketchup each time… How many iterations until we get a mixture of 200 gallons of mayo and 300 gallons of ketchup?
My sort-of-involved method works for that! I dare you to try it. You get about 98 iterations. It’s only very slightly tricky, so I’ll write up the solution to that problem in a future post.
Part II Solution
Let’s take the 17 lbs of beef (“it’s what’s for dinner!”).
Let’s have
represent the number of single and double burgers that Nortrom can eat. We know that these combinations are
,
,
,
,
,
,
,
,
. Let’s see how many different ways that Nortrom can eat one of these combinations of single and double burgers.
Well, let’s look at
. This is 7 single burgers and 5 double burgers. How many ways are there of ordering them? Clearly there are
ways.
Let’s me be clear about this. If Nortrom eats 7 single burgers and 5 double burgers, Nortrom will be eating 12 burgers. We just have to find the number of different ways he can do this. Nortrom, before eating them, placed them down in order of eating them — in 12 slots. Nortrom puts his first burger in slot 1, Nortrom puts his second burger in slot 2, Nortrom puts his third burger in slot 3, etc. Nortrom has to put single burgers in 7 of the 12 slots. (The rest will be filled with double burgers.) The number of ways to do that is
. [1]
So then we have, using our combination of single and double burgers listed above:
.
Let’s do exactly the same thing for our 25 lbs of beef!
The combinations are
,
,
,
,
,
,
,
,
,
,
,
,
.
This leads to a similar conclusion:
.
Huzzah!
[1] As a quick aside, note that
. This is because if you have 12 slots and you have to put double burgers in 5 of the slots, then the rest must be filled with single burgers.