I have r = [ 1 3 4 5 ……n]

and x = [ 5 8 9 4 ……n]

I will like to do this computation

when m = 1

sort the lowest number of r and divide it with the lowest number of x till the end n

for example =[ 1/4, 3/5, 4/8, 5/9…….n]

when m = 2

= [(1 + 3) / (5 + 4) , (4 +5)/(8+9) , ………..n]

when m =3

=[ (1 + 3 + 4)/( 4 + 5 + 8),…………….n]

Thanks for your help in advance

Tino

## Best Answer