There are no numbers x∈[1,∞) with the property in the statement: if x≥1, then [x]≥1 and, since {x}∈[0,1), we obtain
4=3x+3[x]+3{x}≥3+3+1=7,
contradiction.
There are no numbers x∈(−∞,−1) with the property in the statement: x<−1, then [x]≤−2 and, since {x}∈[0,1), we obtain
4=3x+3[x]+3{x}<3−1+3−2+31=394,
contradiction.
If x∈[0,1), then [x]=0, {x}=x, so the given equality becomes
3x+1+3x=4⇔2⋅3x=3.
We obtain the solution x1=1−log32∈[0,1).
If x∈[−1,0), then [x]=−1, {x}=x+1, so the given equality becomes
3x+31+3x+1=4⇔4⋅3x=311.
We obtain the solution x2=log31211∈[−1,0).