View Single Post
  #1   Report Post  
David
 
Posts: n/a
Default number of spaces between numbers

I am wondering if there is a formula to show how often a number is listed.

ie. List 1, 2, 3, 4, 5, 2, 4, 3, 1, 1, 5, 2, 3

This would show
1: 8, 1
2: 4, 6
3: 5, 5
4: 3
5: 6

in other words show the space between when the number showed and the next
time it showed.

Thank you.