Arithmetic of Polynomials, Rational Functions, and Power Series