Title: Orthogonal expansions and their continuous analogues