Mathematica Notebook and Package
On Matrix Elements of Coulomb Interaction
between Electrons

There is an evaluated Mathematica notebook shown, an unevaluated version, and the text of the version made as a Mathematica package. Since the notebook is intended to be interactive, it may be helpful to also view the unevaluated version.