Count Coprime Pairs
Count the pairs (i < j) whose gcd is exactly 1.
Constraints
2 <= n <= 2000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.