Characterize this in terms of the sum of all integers from 1 to n.