Maths Olympiad Prep

Track / Stage 3 / 184 of 260 #184 of 1964

Problem 184

AMC 10/12, early questions
Number theory Difficulty 3.7 Find the answer

A robot starts at the origin of the number line and moves along the direction of the number line, following a pattern where it advances 4 steps then retreats 3 steps. The robot moves one step per second, each step being one unit length. Let xnx_n denote the position of the robot on the number line at second nn (for example, x4=4x_4=4, x5=3x_5=3, x7=1x_7=1). What is the value of x2007x2011x_{2007} - x_{2011}?

A number or a short expression. Spacing, $ signs and \frac vs / are all fine.

Official solution

Since the robot moves along the number line starting from the origin and follows a cycle of moving 4 steps forward and then 3 steps back:

1. In a full cycle of 7 seconds, the robot effectively moves 1 step forward.
2. Therefore, after 7n7n seconds (where nn is a natural number), the robot will be at position nn on the number line.

To find the positions of x2007x_{2007} and x2011x_{2011}:

- Divide 2007 by 7 to find the full cycles and the remainder:
2007=7×286+5 2007 = 7 \times 286 + 5
This tells us that after 2007 seconds, the robot completed 286 full cycles and an additional 5 seconds into the next cycle.

- By the pattern of the robot's movement, the position x2007x_{2007} will be:
- After 286 cycles, at position 286.
- Then moves forward 4 steps to 290.
- Then moves back 1 step to 289 (because the robot goes back 3 steps in total, but we only need to account for 1 step in the remaining 5 seconds).

Therefore, x2007=289x_{2007} = 289.

- Similarly, divide 2011 by 7 to find the full cycles and the remainder:
2011=7×287+2 2011 = 7 \times 287 + 2
This tells us that after 2011 seconds, the robot completed 287 full cycles and an additional 2 seconds into the next cycle.

- Following the movement pattern:
- After 287 cycles, at position 287.
- Then moves forward 2 steps to 289.

Hence, x2011=289x_{2011} = 289.

So the final result is:
x2007x2011=289289=0x_{2007} - x_{2011} = 289 - 289 = 0

We \boxed{0} as the answer for x2007x2011x_{2007} - x_{2011}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.