18. The number of real solutions to the equation $\sin \left(x-\frac{\pi}{4}\right)=\frac{1}{4} x$ is
18. From the graphical method, we know the number of intersection points (i.e., the solutions to the equation) is 3.