Hi Everyone I am trying to solve [Problem](https://www.codechef.com/problems/LCM/) <br>↵
I gone through editorial but not able to get it . Below is the function where i got stuck .Could someone please tell me how to calculate below function ↵
efficiently for each n . <br>↵
$\dfrac{1}{n}$$\sum\limits_{d|n}d*mobious(d)$<br>↵
↵
[Editorial Link :](https://discuss.codechef.com/questions/4258/lcm-editorial)↵
I gone through editorial but not able to get it . Below is the function where i got stuck .Could someone please tell me how to calculate below function ↵
efficiently for each n . <br>↵
$\dfrac{1}{n}$$\sum\limits_{d|n}d*mobious(d)$<br>↵
↵
[Editorial Link