Problem with mobius function

Revision en2, by selfcompiler, 2017-07-29 16:39:35

Hi Everyone I am trying to solve Problem
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 .