Skip to main content

2022 AMC 12A Problem 5

Problem 5 of 25EasierAlgebraGeometry

Let the taxicab distance between points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) in the coordinate plane be given by ∣x1−x2∣+∣y1−y2∣.|x_1-x_2|+|y_1-y_2|. For how many points PP with integer coordinates is the taxicab distance between PP and the origin less than or equal to 20?20?

Answer choices

Show solution

Solution

For each k≥1,k\ge1, the set ∣x∣+∣y∣=k|x|+|y|=k contains exactly 4k4k lattice points, and k=0k=0 gives the single origin. The total is 1+∑k=1204k=1+4⋅20⋅212=1+840=841. \begin{aligned} &1+\sum_{k=1}^{20}4k=1+4\cdot\frac{20\cdot21}{2} \\ &=1+840=841. \end{aligned} Thus, the correct answer is C.
AoPS wiki

Tagged: lattice point · arithmetic sequence

More practice