Representing functions as power series