Skip to main content
OlympiadHQ

Browse · MathNet

Print

Austria 2010

Austria 2010 counting and probability

Problem

We consider points with integer coordinates in the rectangle with corners in , , and . It is possible to move from a point in the rectangle to either points , or if the second point is also in the given rectangle. How many possible paths are there from to under these rules?
Solution
Let , and be the number of possible paths leading from to , and respectively. It is obvious that , and hold. Furthermore, for we have the recursive equations From the first equation, we obtain for . Substituting in the second equation therefore yields for , and substitution in the third equation finally yields for . The characteristic equation of the recursion is , and since , the roots of the characteristic equation are , and . It follows that the required values are given by expressions of the form . Since we know and , we obtain the system of equations Solving this system of equations yields , and , and the number of possible paths is therefore given by the expression
Final answer
-1/2 + ((3 - sqrt(3))(2 + sqrt(3))^n)/12 + ((3 + sqrt(3))(2 - sqrt(3))^n)/12

Techniques

Recursion, bijectionRecurrence relations