Well done to Ken from Blessed Robert Johnson Catholic School who sent us his solution to this problem:

After a while of playing with the numbers on a spreadsheet I have discovered that the formula to find the "limiting value" for 2 starting numbers is:

x+2y 3

where x is the first number chosen and y is the second number chosen.



The formula to find the "limiting value" for 3 starting numbers will be:
x+2y+3z 6

Terence from Brumby Engineering College has made a prediction for what the limit will be when there are n starting numbers. He thinks it will be

a1 +2 a2 +3 a3 +4 a4 ++(n-1) an-1 +n an 1 2 n(n+1)

where a1 , a2 , ..., an-1 and an are the n starting numbers.
Can you see why Terence has made this prediction?
As mathematicians, we like to prove our answers, rather than just predict. Here is an outline of how we might prove the formula when there are two starting numbers.
Suppose that the first two numbers are a and b. Let's work out the next few terms of the sequence. We have


a,b, a+b 2 , a+3b 4 , 3a+5b 8 , 5a+11b 16 , 11a+21b 32 , 21a+43b 64

and so on. We'd like to show that in the limit the coefficient of b is twice the coefficient of a, and also that the sum of these coefficients is the denominator. Can you see why this will prove the formula?

The n th term in the sequence is of the form αn a+ βn b 2n-2 (for n2). We can work out αn in terms of αn-1 and αn-2 . Can you see how?

We have αn = αn-1 +2 αn-2 (for n4). Similarly, we have βn = βn-1 +2 βn-2 (for n4).

It turns out that we can use these formulae to prove that βn =2 αn +(-1 )n (for n2). Test this formula on the above examples to see that it works for these cases.

We'd like to show that as n tends to infinity, βn becomes twice αn . Let's think about βn / αn . From the above formula, this is 2+(-1 )n / αn . But αn is getting bigger and bigger, so the (-1 )n / αn part of this gets smaller and smaller. In fact, it tends to 0, and so the limit of the whole expression is 2.

It is also possible to use the formulae for αn and βn to show that αn + βn = 2n-2 (for n3) (that is, the coefficients of a and b sum to the number on the bottom of the fraction). Again, test this formula on the examples above.

Combining the last two paragraphs, we find that the limit of the sequence is
a+2b 3

as predicted.