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 5 of 5: Count the final eight values
x∈[99,100]:99, 99+14, 99+13, 99+12, 99+35, 99+23, 99+34, 100x\in[99,100]:\quad 99,\ 99+\frac14,\ 99+\frac13,\ 99+\frac12,\ 99+\frac35,\ 99+\frac23,\ 99+\frac34,\ 100
Detailed analysis

The remaining interval has the eight distinct breakpoints 9999, 99+1/499+1/4, 99+1/399+1/3, 99+1/299+1/2, 99+3/599+3/5, 99+2/399+2/3, 99+3/499+3/4, and 100100. Each gives the next value of the nondecreasing step function, so there are 8 additional values. The total is 33⋅22+8=73433\cdot22+8=734.