  In studies of one-dimensional Bethe ansatz solvable models, a Fredholm
integral equation of the second kind with a difference kernel on a finite
interval often appears. This equation does not generally admit a closed-form
solution and hence its analysis is quite complicated. Here we study a family of
such equations concentrating on their moments. We find exact relations between
the moments in the form of difference-differential equations. The latter
results significantly advance the analysis, enabling one to practically
determine all the moments from the explicit knowledge of the lowest one. As
applications, first we study the moments of the quasimomentum distribution in
the Lieb-Liniger model and find explicit analytical results. The latter moments
determine several basic quantities, e.g., the $N$-body local correlation
functions. We prove the equivalence between different expressions found in the
literature for the three-body local correlation functions and find an exact
result for the four-body local correlation function in terms of the moments of
the quasimomentum distributions. We eventually find the analytical results for
the three- and four-body correlation functions in the form of asymptotic series
in the regimes of weak and strong interactions. Next, we study the exact form
of the low-energy spectrum of a magnon (a polaron) excitation in the
two-component Bose gas described by the Yang-Gaudin model. We find its explicit
form, which depends on the moments of the quasimomentum distributions of the
Lieb-Liniger model. Then, we address a seemingly unrelated problem of
capacitance of a circular capacitor and express the exact result for the
capacitance in the parametric form. In the most interesting case of short plate
separations, the parametric form has a single logarithmic term. This should be
contrasted with the explicit result that has a complicated structure of
logarithms.
