DR.WANG Mathematics中文

2022 AIME II · Question 8

Number theory · floor and ceiling functions · divisibility · modular arithmetic · algebra

Problem outline

For how many 1≤n≤6001\le n\le600 does the triple (⌊n/4⌋,⌊n/5⌋,⌊n/6⌋)(\lfloor n/4\rfloor,\lfloor n/5\rfloor,\lfloor n/6\rfloor) identify nn uniquely? Consider how the answer depends on whether the candidate pool is also bounded by 600600.

Show answer and methods 1 methods

Answer

080 / 081

Method 1 Find isolated steps of the floor functions

The three coordinates are nondecreasing. For n>1n>1, the value is unique exactly when it differs from both neighbors. That happens if each of nn and n+1n+1 is divisible by at least one of 4,5,64,5,6. The endpoint n=1n=1 shares its triple with 22.

Test this condition in one period of 6060. The only adjacent multiples must use 55 on one side and 44 or 66 on the other. The permitted starting residues are 4,5,15,24,35,44,54,554,5,15,24,35,44,54,55. Ten full periods give 8080 values when all positive integers are candidates.

If all candidates must be at most 600600, only the upper endpoint changes: 600600 differs from 599599 but has the same triple as 601601. Discarding 601601 and larger numbers makes 600600 unique and gives 8181. Both answers were accepted.

Source and attribution

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

Original question (external)