Back to Brain Tonic
GeometrymediumBT-006

#6 Manhattan Distance

The Manhattan distance between points (x₁, y₁) and (x₂, y₂) in the coordinate plane is given by |x₁ - x₂| + |y₁ - y₂|.

For how many points P with integer coordinates is the Manhattan distance between P and the origin less than or equal to 20?

Answer options
© 2026 FrontendX. All rights reserved.