Question
How to find the number of pairs of integers (x,y) such that gcd(x,y) = 1? n<=1e6 x<y<=n time limit = 2s
n<=1e6
x<y<=n