Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Southeastern Mathematical Olympiad

China counting and probability

Problem

Let be a positive integer, , and be the set of points on the number axis. A grasshopper jumps between adjacent points on . Find the maximal number of such that for any , the number of ways that a grasshopper jumping from to by 2012 steps is even (passing or on the way is permitted). (posed by Zhang Sihui)
Solution
If , then . Since there is only one way a grasshopper jumps from point to point by steps, we see that .

In the following, we show that the answer is . To show this, we will prove a stronger proposition by induction on : for any and any , the number of ways the grasshopper jumps from point to point by steps is even.

If , the number of ways is , where is even.

If , the number of ways is even. Then, for , there are three kinds of routes from point to point by steps. We show that the number of ways is even for each kind of route.

(1) The route does not pass point . So points and both are on one side of point . By the induction hypothesis, there are even routes.

(2) The route passes point just once. Suppose that the grasshopper is at point at the -th step.

. We show that, for any , the number of routes is even.

Suppose that the route is . Divide it into two sub-routes: from point to point of steps and from point to point of steps (for or , only one sub-route of steps).

If and , then , which contradicts . So, we must have or . By the induction hypothesis, there are even ways for a sub-route. So, by the Multiplication Principle, the number of ways is even.

(3) The route passes point no less than two times. Consider the sub-routes from to , the number of ways is even, since we can consider the routes symmetric to . So by the Multiplication Principle, the number of ways is even.

Summing up, the maximal is .
Final answer
10

Techniques

Induction / smoothingRecursion, bijection