I am looking for a way to find values within an array that have the same "distance" to each other.
So for example within the arraw [1,2,3,5,7,8,9,10]