MathLabs

Problem 2

Find the total number of different integer values taken by f(x)=⌊x⌋+⌊2x⌋+⌊5x3⌋+⌊3x⌋+⌊4x⌋f(x)=\lfloor x\rfloor+\lfloor2x\rfloor+\left\lfloor\frac{5x}{3}\right\rfloor+\lfloor3x\rfloor+\lfloor4x\rfloor for real xx with 0≤x≤1000\le x\le100.
Step 3 of 5: Count the distinct breakpoints and values
3+3+6+6+4=223+3+6+6+4=22
Detailed analysis

After reducing fractions, the candidates contribute 3 integers, 3 fractions with denominator 22, 6 with denominator 33, 6 with denominator 44, and 4 with denominator 55. These sets are disjoint, giving 3+3+6+6+4=223+3+6+6+4=22 distinct breakpoint positions in one period and hence 22 attained values on [0,3)[0,3).