I was investigating the following problem and came across an interest result that I would be interested in proving rigorously.
Consider $a,b \in \mathbb{N}$, and plot the point $(a,b)$ on the cartesian plane. If we join a line from $(0,0)$ to $(a,b)$, what is the percentage chance that no other integer co-ordinates lie on that line?
While investigating the above, this led me to consider what happens as the point $(a,b)$ get larger and so I decided to consider what happens in the limit as $a \rightarrow \infty$ and $b \rightarrow \infty$. Intuitively, it feels as though the chance that a line from $(0,0)$ should become less and less likely that it hits $(a,b)$ without having first passed through at least one integer co-ordinate.
This led to me to take the conjecture that, in the limit, the percentage chance of this point satisfying this requirement is $0$%.
In trying to prove this, I came across the following result (which I have not seen a proof for, and so could turn out to be wrong):
Claim: if you draw a line from $(x_1,y_1)$ to $(x_2,y_2)$, then the number of integer co-ordinates on this line will be $ \gcd(|x_2 - x_1|, |y_2 - y_1|)+1$
Therefore, since our starting point is $0$, this tells us that the number of integer co-ordinates on a line from $(0,0)$ to $(a,b)$ must be $\gcd(a,b)+1$. Since the start and end points are both integers, this tells us that a point has no integer co-ordinates along it if and only if $\gcd(a,b)+1 = 2$ (ie. the only integers on the line are the start and end points). Therefore, by rearranging this, we are essentially trying to show that the probability of $\gcd(a,b) = 1$ approaches $0$ as $a,b \rightarrow \infty$.
So if we can show that the probability of $a$ and $b$ being coprime approaches $0$ in the limit (which seems reasonable), then we are done.
Is there a way for me to formalise an argument of this nature (and is what I have done up until this point reasonable)?
Note$_1$: the source for the claim is Quora and it was given without a proof, this does make me somewhat sceptical so as an additional question, I would be interested in knowing whether or not this result is actually try and if there is a proof reference that I could be pointed towards.
Note$_2$: I have tested the above claim for some small numbers and it seems to hold up, but I haven't been able to find anything completely rigorous to show that it holds more generally.
Note$_3$: As pointed out by lulu in the comments, this post will likely be useful as we are specifically considering the edge case of what is computed here.
Edit: as mentioned by @Slugger, we can't really talk about the notion of probability without first considering the distribution of our choices of $a,b$. Really, we only want $a,b$ to be large without any bias beyond this. Therefore, it makes sense to consider a discrete uniform distribution from $n$ to $2n$. We can then take $n \rightarrow \infty$ and this should be equivalent to the problem that I am trying to resolve (note that my choice of the upper bound being $2n$ was arbitrary as in the limit this would be equivalent to a discrete uniform distribution from, for example, $n$ to $3n$).