2021 AMC 12B Spring Problem 25

Below is the professionally curated solution for Problem 25 of the 2021 AMC 12B Spring, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2021 AMC 12B Spring solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:lattice pointfloor and ceiling functions

Difficulty rating: 2600

25.

Let SS be the set of lattice points in the coordinate plane, both of whose coordinates are integers between 11 and 30,30, inclusive. Exactly 300300 points in SS lie on or below a line with equation y=mx.y=mx. The possible values of mm lie in an interval of length ab,\dfrac{a}{b}, where aa and bb are relatively prime positive integers. What is a+b?a+b?

3131

4747

6262

7272

8585

Solution:

For slope m,m, column xx (with 1x301\le x\le 30) contributes min(30,mx)\min(30,\lfloor mx\rfloor) points on or below y=mx,y=mx, and we need the total to equal 300.300.

The count is a step function of mm that jumps at fractions yx.\tfrac{y}{x}. Sweeping through these breakpoints, the count equals 300300 for mm in a single interval whose endpoints are consecutive such slopes.

That interval runs from m=23m=\dfrac{2}{3} up to m=1928,m=\dfrac{19}{28}, of length 192823=575684=184.\dfrac{19}{28}-\dfrac{2}{3}=\dfrac{57-56}{84}=\dfrac{1}{84}.

Since gcd(1,84)=1,\gcd(1,84)=1, a+b=1+84=85.a+b=1+84=85.

Thus, the correct answer is E.

Problem 25 in Other Years