well
shajikoshy ji,
for the 1st question its not clear if 0 and 100 are included or not. i've done the problem including them.
[x]+[2x]+[5x/3]+[3x]+[4x]
write it as 35x/3 -{x}-{2x}-{5x/3}-{3x}-{4x}
now the fractional part terms become zero at all integral multiples of 1/coeff.of x
i.e
{x} = 0 at integers
{2x}=0 at integral multiples of1/2
{5x/3}=0 at integral multiples of 3/5
{3x}=0 at integral mult of 1/3
{4x}=0 at integr. multiples of 1/4
and importantly*** all the fractional parts are zero at
lcm of 3/5,1/2,1,1/3,1/4 wich is 3.
so total different values =
100[2+5/3+1+3+4]=1166
but we are addin integral points 4times so-(100*3)
subtr. integr pts for 5/3.= -33
u can skip 2 as well so-(100*2) [mult of 1/4 will take care of dem]
and - subtr pts were all change simultaneously = -33
well the ans turns abt to be 600