Consider the line , where . For all values of , how many times are the and intercepts of the line both integers?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If k = 0 , then x = y = 0 and 0 ∈ Z , so we have at least one solution. By substituting 0 for x and y , we see that the y-intercept is equal to k , and the x-intercept is equal to 2 k . For the x-intercept to be an integer, k must be a multiple of 2 . However, when k is a multiple of 2 , the y-intercept must be irrational, since 2 is irrational. Thus, there are no solutions when k = 0 , so the answer is 1.