Since for all i, ai>0, therefore above result can be proved by using principle of mathematical induction.
Step 1: Checking for n=2,
1a1a2=1a1a2 which is true.
Step 2: Assuming the given relation to be true for 1<=m<n,
1a1a2+1a2a3+ so on upto +1am−1am=m−1a1am
Step 3: To prove that result is true for next natural number m+1.
let d be the common difference
we have 1a1a2+1a2a3+ so on upto 1am−1am+1amam+1=m−1a1am+1amam+1
→1am∗mam+1−am+1−a1a1am+1→1ammam+1−(a1+md)−a1a1am+1
on further simplification, we getma1am+1 which is true for m+1 and hence for all n.
Hence 1a1a2+1a2a3+ so on upto +1an−1an=n−1a1an