# How many integral values of (X,Y) are there?

How many integral values of $(X,Y)$ are there such $$((|X-L_1|+|Y-M_1|)+(|X-L_2|+|Y-M_2|)+\cdots+(|X-L_n|+|Y-M_n|))$$ is minimized?

$10^{-6} < X < 10^6$

$10^{-6} < Y < 10^6$

-
Zero percent accept rate? Do you know about accepting answers to your questions, and why that's a good thing to do? –  Gerry Myerson May 3 '12 at 5:56
Your link is to an image that is no longer available, and links are discouraged for this reason. Please restore the question to this site. –  Ross Millikan May 3 '12 at 13:24
-1: There is no question. –  spohreis May 3 '12 at 13:43
possible duplicate of To find the number of points on a 2D grid? (which was also posted by a user with 0% accept rate) –  joriki May 16 '12 at 8:15

When $N$ is odd, there is a unique median, so a unique $X$ and a unique $Y$. –  Gerry Myerson May 3 '12 at 5:56