Given, f(x)=[x]+[2x]+[23x]+[3x]+[4x]+[5x]
Since, [hx] changes its value at every integral multiple of 1k.
⇒ [x] will changes at every integral multiple of 1.
⇒ [2x] will changes at every integral multiple of 12.
⇒ [3x] will changes at every integral multiple of 13.
⇒ [4x] will changes at every integral multiple of 14.
⇒ [5x] will changes at every integral multiple of 15.
and [23x] will changes at every integral multiple of 32.
They would change all together at every multiple of LCM of
{1,12,13,14,15,32}=3
ie, all will would change of every multiple of 3.
Now, number of total points at which f(x) will change its value in interval [0, 3)
will depend on the total number of different terms in the following cases:
[x]=0, 1, 2
[2x]=0,12,22,32,42,52
[3x]=0,13,23,33,43,53,63,73,83
[4x]=0,14,24,34,44,54,64,74,84,94,104,114
[5x]=0,15,25,35,45,55,65,75,85,95,105,115,125,135,145
[23x]=0,32,62
∴ f(x) will change its value in the intervals.
0≤x<15, 15≤x<14, 14≤x<13, ..., 145≤x<3
⇒ total number of different terms in above equation=30
Hence, number of terms in the range of f(x) for 0≤x<3 is 30.
If xϵ[0,n], then
(i) If n=3k, number of terms in the range=(30k+1)
(ii) If n=3k+1, then number of terms in the range=30k+(3+4+5+1)-2=30k+11
(iii) If n=3k+2, then number of terms in the range=30k+(6+8+10+2)-(2+2)-2=30k+22.