sign(cos(n*x)) in the sum which is nonsense and can’t be Fouriered