Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

yogeshk972's blog

By yogeshk972, history, 2 years ago, In English

So i was reading the official editorial of problem C: LCM, and i coudn't really understand why

$$$xy/gcd(x,y) = xy \sum\limits_{d|gcd(x,y)}{w_{d}}$$$

Also neither can i understand what does $$$w_{d}$$$ signify . Can someone please explain these or give resources to learn .

Problem Link

Editorial Link

Read more »

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it