I want to calculate the ratio of athe specific distance from the two coordinates in a line.

1.I used Combinations (Spreads) and  (Value)calculate the distance between the vector.
（Thanks to @tonfilm)) let me know how to use ((node:Combinations (Spreads).） 
2.Computing a ratio of two distances ,and I want to use a serial combinatorics for the calculation.It differs from Combinations (Spreads) is its sequence as shown below,
Combinations in VVVV：
05, 15, 25, 35, 45
04, 14, 24, 35
03, 13, 23
02, 12,
01My Combinations：
05, 15, 25, 35, 45
04, 14, 24, 34
03, 13, 23
02, 12,
01610, 710, 810, 910
69 , 79, 89
68 , 78,
67
I’ve tryed as below, but the problem is , In my case ,the number of values is variable. When I added the number of values , I have to add more nodes by hand, and It will take my time to calculate the difference between the sequences of their. Does anyone know how I could make it a little more automated ? For example,how can automatically get the corresponding results only when I change the number ?
Its rules are as follows：
hope someone can have a solution to this problem immediately,thankyou
myCombinationsPath.v4p (141.4 kB)