Does this 'sequence derivative' have a proper term? It comes up all the time in informatics. I've always called it the 'delta array' for lack of a better term. And there's also its 'integral' equivalent, which we call the cumulative array, where the nth term is the sum of terms 0..n. That one has the nice property that you can construct it in linear time with
Code:
cum[0] = arr[0]
for i = 1 to n
cum[i] = arr[i] + cum[i-1]
and then perform range sum queries in constant time; the sum of elements i..j can be found with a single operation, cum[j] - cum[i-1] (or just cum[j] if i == 0)