MathCastle
TrigonometrySuperchallengeThe Unit Circle and Circular Functions

The Unit Circle and Circular Functions · Superchallenge problem

For integers aa and bb with 0≤a≤110 \le a \le 11 and 0≤b≤110 \le b \le 11, let MM be the midpoint of the segment joining the terminal points P ⁣(aπ6)P\!\left(\dfrac{a\pi}{6}\right) and P ⁣(bπ6)P\!\left(\dfrac{b\pi}{6}\right) (if a=ba = b, MM is that point itself). For how many of the 144144 ordered pairs (a,b)(a, b) is MM less than 12\dfrac12 unit from the origin?