Variance of a discrete random variable

Let be a random variable, and let denote the probability that takes the value Suppose that the points lie on a fixed straight line in the plane, and for all

If the mean of is and the variance of is then the value of is __________.


The answer is a non-negative integer.