Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/iii/paper-117/3/b/solution

Write , where . Split the -interval into consecutive blocks of length at most . If distinct integers lie in one block, then . Since ,
whereas . Hence .
The points in one block are therefore -separated modulo one. Order them by distance from the nearest integer. Apart from a bounded number of endpoints, the th closest point has distance , and consequently
Multiplying by gives
This is the reciprocal fractional-part sum near a rational estimate.

New to topics? Read the docs here!