I was doing question 6 from this BMO1 paper: https://bmos.ukmt.org.uk/home/bmo1-2019.pdf and I didn't manage to get it. Then I looked at the solution and found the solution. I can see how the solution works but there is a step that I cannot see how anyone would have ever thought to have tried. I'm trying to improve at problem solving so I'd like to know how I would be supposed to think of something like that.
Ada the ant starts at a point $O$ on a plane. At the start of each minute she chooses North, South, East or West, and marches $1$ metre in that direction. At the end of $2018$ minutes she finds herself back at $O$. Let $n$ be the number of possible journeys which she could have made. What is the highest power of $10$ which divides $n$.
(READ FULL QUESTION BEFORE GOING TO VIDEO) Here is the video solution: https://bmos.ukmt.org.uk/solutions/bmo1-2019/ The step I am confused about how someone could think of it is the part at 4:15 in the solution video. How is someone meant to think of creating a new set of coordinates ((x + y), (x - y))? I just can't see how you would make that jump or even think to try that. If you want to try the problem yourself first, maybe you will be more able to explain to me how you realised that you needed to make that step however if you want you can just look at the video solution.
I just tried to solve the problem in my head, and thought of the change-of-coordinate trick within a minute or two (at which point I stopped, knowing that it is only computation starting from there).
To answer your question of "how does one come up with it", let me try to retrace the intuitive process in my mind. I thought roughly as follows:
"OK, so a point on the Euclidean plane is described by a pair of numbers (its coordinates). So a path is a sequence of pairs of numbers. Actually, it looks like the x-coordinate and the y-coordinate do not interact at all here - so we might as well encode paths as pairs of sequences of numbers.
OK, now what are the precise conditions that such a pair of sequences of numbers must satisfy in order to provide a solution?
Answer: $((x_1, \ldots, x_{2018}), (y_1, \ldots, y_{2018}))$ is a valid pair if and only if every term of each sequence is $-1$, $0$, or $1$, the sum of each sequence is $0$, and, for every $i$,
$x_i$ and $y_i$ are never simultaneously nonzeroexactly one of $x_i$ and $y_i$ is nonzero.Dang! in fact, it turns out that the two sequences do interact - and in a rather messy way. This last condition seems hard to take into account when solving the problem.
So let us start by solving a simpler problem, which consists of two independent copies of the one-dimensional version of this problem: so let us allow $x_i$ and $y_i$ to take only the values $\pm 1$, but with all four combinations allowed.
Oh wait --- but actually this is the same as the original problem, just rotated 45 degrees (and rescaled)! So here we are."