Series representations for special functions and mathematical constants