1838. 
For every real number , let denote the greatest integer not exceeding , and let The set of all numbers such that and is a union of disjoint intervals. What is the sum of the lengths of those intervals?
This problem is copyrighted by the American Mathematics Competitions.

Instructions for entering answers:
For questions or comments, please email markan@eudelic.com.
Try our new, free contest math practice test. All new, neverseenbefore problems.
I offer online AMC/AIME classes periodically. Join the mailing list to be informed next time they're offered.
Private coaching is also available.