Solve the equation cos⁡nx−sin⁡nx=1\cos^n x - \sin^n x = 1, where nn is a natural number.