Question 6
In the Cartesian plane $Oxy$ we consider the points $A_1(40,1)$, $A_2(40,2)$, ..., $A_{40}(40,40)$, as well as the line segments $OA_1, OA_2, ..., OA_{40}$. A point of the Cartesian plane will be called "good" if its coordinates are integers and lies in the interior of a line segment $OA_i$, $i = 1, 2, 3, ..., 40$. Also a line segment from $OA_1, OA_2, ..., OA_{40}$, will be called "good" if it contains at least one "good" point. Determine the number of "good" points and the number of "good" segments.