DR.WANG Mathematics中文

2023 AMC 8 · Question 18

Number theory · Diophantine Equation · modular arithmetic · optimization · problem-solving

Problem outline

A jumper on an integer line can move +5+5 or −3-3 at each step. What is the minimum number of steps to travel from 0 to 2023?

Show answer and methods 2 methods

Answer

D. 411411.

Method 1 Constrain the jump count modulo eight

For nn steps including bb backward steps, the displacement is 5n−8b5n-8b. Thus n≥405n\ge 405 and 5n≡2023≡7(mod8)5n\equiv 2023\equiv 7\pmod 8, so n≡3(mod8)n\equiv 3\pmod 8.

The first such integer at least 405 is 411. It is achievable with b=(5×411−2023)/8=4b=(5\times 411-2023)/8=4, giving 407 forward and four backward steps.

Method 2 Minimize the backward moves

With ff forward and bb backward jumps, 5f=2023+3b5f=2023+3b. Reducing modulo 5 gives b≡4(mod5)b\equiv 4\pmod5.

The minimum b=4b=4 gives f=407f=407. Increasing bb by five also increases ff by three, so no longer choice improves on 407+4=411407+4=411.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)