The taxicab distance between points (x1,y1) and (x2,y2) in the coordinate plane is given by ∣x1−x2∣+∣y1−y2∣. For how many points P with integer coordinates is the taxicab distance between P and the origin less than or equal to 20?
Pick one
Solution
Let us consider the number of points for a certain x-coordinate. For any x, the viable points are in the range [−20+∣x∣,20−∣x∣]. This means that our total sum is equal to 1+3+5+⋯+41+39+37+⋯+1=(1+3+5+⋯+39)+(1+3+5+⋯+41)=202+212=292=(C)841. ~mathboy100
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.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.