While I was observing some houseflies around, I wondered what is the probability that at least one triplet of them chosen will fall under the same straight line. I made some assumptions so as to remove "infinity" from the picture. Firstly, let $a$ denote the area occupied by one "housefly" (point) and $A$ denote the area of square plane considered. Total number of points (lattice points) is $\lfloor \frac{A}{a} \rfloor$. Let $n$ denote number of points in one side of the square plane. $n = \sqrt{\lfloor \frac{A}{a} \rfloor}$. 
I started from a very simple case. Let us consider a square with $3$ points on its sides. Let me assume that only $3$ points are chosen. For $3$ of them to fall on a straight line is equivalent to chosing $3$ points from any fixed straight line.
Since there are $8$ straight lines containing $3$ points, so total number of favorable selections is ${3 \choose 3} . 8 = 8$ and total possible selections is $ {9 \choose 3} = 84$. Therefore Probability $= 0.095$ . Let us now consider a square with $4$ points on its sides. Let me assume that only $3$ points are chosen.
Since there are $10$ straight lines containing $4$ points and $4$ straight lines containing $3$ points, so total number of favorable selections is ${4 \choose 3}.10 + {3 \choose 3}.4 = 44$ and total possible selections is ${16 \choose 3} = 560$. Therefore probability $= 0.078$ . Let us now consider a square with $5$ points on its sides. Let me assume that only $3$ points are chosen.
Since there are $12$ straight lines containing $5$ points, $4$ straight lines containing $4$ points and $4$ straight lines containing $3$ points, so total number of favorable selections is ${5 \choose 3}.12 + {4 \choose 3}.4 + {3 \choose 3}.4 = 140$ and total possible selections is ${25 \choose 3} = 2300$. Therefore probability $= 0.0608$ . Generalizing this idea we get, $$P(n) = \frac{{n \choose 3}.(2n+2) + ({n-1 \choose 3}+{n-2 \choose 3}+...+{3 \choose 3}).4}{{n^2 \choose 3}}$$ or $$\boxed{P(n) = \frac{{n \choose 3}.(2n-2) + {n+1 \choose 4}.4}{{n^2 \choose 3}}}$$ where $P(n)$ denotes the probability that $3$ points chosen in a plane with lattice points $n^2$ will be collinear. Generalizing this idea to choosing $r$ points, probability that all $r$ points lie on the same straight line is $$P(n,r) = \frac{{n \choose r}.(2n-2) + {n+1 \choose r+1}.4}{{n^2 \choose r}}$$
The $P(n)$ vs $n$ graph is plotted below:

Now, coming to the final part of the question, let $x$ denote the total number of points chosen. Total number of triplets is ${x \choose 3}$. The chances of each triplet being collinear is given by $P(n)$. Therefore using the concept of probability, it can be concluded that probability that at least one triplet of points chosen will fall under the same straight line $$\boxed{P'(n) = 1 - (1-P(n))^{x \choose 3}}$$ Here is a $P'(n)$ vs $x$ graph for $n = 100$. The "strange" thing is that probability approaches $1$ for $x>30$. Does that mean if we choose 30 points out of only $100^2$ lattice points we may not be able to make a 30-sided polygon?
Am I correct in my deductions?
N.B.: This question is different from this because I am not dealing with "infinity".



