「codeforces - 990G」GCD Counting
link。构造函数 $ans(x)$,$f(x)$ 分别表示 $\gcd$ 为 $x$ 的链数和链 $\gcd$ 有 $x$ 因子的链数,于是 $f(x)=\sum\limits_{d\mid ...
In mathematics you don't understand things, you just get used to them.
In mathematics you don't understand things, you just get used to them.