what
the GCD convolution of 2 array a, b consisting of positive integers, is an array d such that:
resources
- [Tutorial] GCD Convolution - Codeforces
- uses the technique in count the GCD values of all pairs
the GCD convolution of 2 array a, b consisting of positive integers, is an array d such that: