2023 SSMO Relay Round 1 Problems/Problem 3

Problem

Let $T=$ TNYWR. Find the number of solutions to the equation \[\sec^{N} (Nx) - \tan^{N}(Nx) = 1\] such $0 \le x \le \pi$

Solution