Question: iterative process

Start with the numbers 1, 1/2, 1/3, ... , 1/100. Choose any two numbers M and N from this list and replace them by the single number M + N + M x N. Repeat the process until only one number is left.

eq, take pair (1,1/2)-->1+1/2+1*1/2=2

then (2,1/3)-->3 and so on .... and you obtain 100.

Can someone show me procedure to accomplish this, because when i try to do it i get into a tiz

Please Wait...