Title: A theorem on series of orthogonal functions