Problem:
The taxicab distance between points and is . A regular octagon is positioned in the plane so that one of its sides has endpoints and . Let be the set of all points inside the octagon whose taxicab distance from some octagon vertex is at most . The area of can be written as , where are positive integers and . Find .
, 2021
Solution
Solution:
In the taxicab metric, the set of points that lie at most units away from some fixed point form a square centered at with vertices at a distance of from in directions parallel to the axes. The diagram above depicts the intersection of an octagon with eight such squares for centered at its vertices. (Note that since , the squares centered at adjacent vertices that are diagonal from each other do not intersect.) The area of the entire shaded region is , which is easy to evaluate since , , and are all 45-45-90-degree triangles. Since , , and , the desired area is .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.