The fractional part vanishes when the argument is an integer; in this case, for
which are hyperbolas in the
-plane.
Observe that between neighboring hyperbolas, we have
Split up the integral over
along the curves
. The subregions somewhat resemble the layers or scales of an onion (see attached plot with the first 5 "scales").
Let
denote the
-th (
) "scale", starting from the blue region closest to the origin and counting diagonally upward in the direction of (1, 1).
In Cartesian coordinates, the integral over
-th "scale" is
(see attached plot of the 2nd "scale" for reference)
The integral is trivial, so I'll leave it to you to confirm that it drastically reduces to
Now we recover the original integral by summing over
.