Some special functions in number theory