I have heard that Legendre functions are important in number theory. Can any one tell me how?
The Legendre function of the first kind $P_s$ is defined by
\begin{eqnarray*}P_s(x) =& \frac{1}{2\pi}\int_{-\pi}^{\pi}\left(x+\sqrt{x^2-1}\cos\theta\right)^s d\theta
\newline
=&\frac{1}{\pi}\int_0^1\left(x+\sqrt{x^2-1}(2t-1)\right)^s\frac{dt}{\sqrt{t(1-t)}},& s\in\mathbb{C}, x\ge 1.
\end{eqnarray*}
Perhaps this has something for you: http://wis.kuleuven.be/analyse/walter/coimbra.pdf
This uses the Legendre polynomials in proving irrationality of certain numbers.