A FORMULA FOR THE RESOLVENT OF (-A)m + M2m WITH APPLICATIONS TO TRACE CLASS