# Happy Line

Discrete Mathematics Level pending

Given a set $$S$$ of points in the plane, a line is called happy if it contains at least three points in $$S$$. By looking at the above picture, we see that the $$3 \times 3$$ grid of points shown has $$8$$ happy lines. How many happy lines are there in a $$3 \times 9$$ grid?

×