What should be the approach for this problem on SPOJ? Thank you. @galencolin @waqar_ahmad224 @hello_hell @carre @aneee004 .

https://www.quora.com/How-do-I-find-the-sum-of-the-lowest-common-multiples-LCM-of-each-pair-of-integers-from-n-given-positive-integers