The pairing Hamiltonian for one pair of identical nucleons bound in a potential well