Decide whether or not S is a subring of R, when S is the set of functions which are linear combinations with integer coefficients of the functions $\{1, \cos{nt}, \sin{nt}\}, n\in\mathbb{Z}$ and R is the set of all real valued functions of t.
It is easy to show that S is closed under addition and that it has the multiplicative identity but I cannot prove that it is not closed under multiplication (which is what I suspect).