@certik, The pair sum along with other sums were discussed here last year (May). Several of us posted code.