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 1 of 5: Reduce the problem to one period
f(x+3)=f(x)+35f(x+3)=f(x)+35
Detailed analysis

For every integer mm, ⌊t+m⌋=⌊t⌋+m\lfloor t+m\rfloor=\lfloor t\rfloor+m. Applying this to the five terms gives f(x+3)=f(x)+3+6+5+9+12=f(x)+35f(x+3)=f(x)+3+6+5+9+12=f(x)+35. Thus the behavior repeats up to an additive shift of 3535 every interval of length 33.