Complex Analysis with Applications to Number Theory