Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given a sequence of $N$ $8$-digit numbers, how to calculate the average delta value, thanks.

share|cite|improve this question
By "delta value" do you mean the difference between each of the N numbers? – Sᴋᴜʟʟ ᴘᴇᴛʀᴏʟ Nov 2 '12 at 9:00
@skullpatrol yes – Foredoomed Nov 2 '12 at 9:19
Take the sum of those numbers and divide it by the number of numbers. – Sᴋᴜʟʟ ᴘᴇᴛʀᴏʟ Nov 2 '12 at 9:51
That is: add up the delta-values, and divide by how many delta-values you are using; to get the average-delta-value. – Sᴋᴜʟʟ ᴘᴇᴛʀᴏʟ Nov 3 '12 at 12:32

Divide the difference between the last element of the sequence and the first by $N-1$.

share|cite|improve this answer
Definitely by $N-1$. Edited to correct. – Dan Brumleve Nov 2 '12 at 9:54
This assumes that the least of the numbers comes first and the greatest comes last, yes? – Cameron Buie Nov 2 '12 at 10:07
@Cameron, no, I was not assuming any particular order. – Dan Brumleve Nov 2 '12 at 10:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.