Title: The hypergeometric and Legendre functions with applications to integral equations of potential theory