Problem

Source: China 10 Aug

Tags: equations, floor function, algebra



Find all solutions of the equation $$sin\pi \sqrt x+cos\pi \sqrt x=(-1)^{\lfloor \sqrt x \rfloor }$$