how many 2 element subsets {a, b} are there such that a and b are distinct and are from the set {1, 2, 3, ..., 34, 35, 36} and a * b is a perfect square?
https://math.stackexchange.com/questions/829831/find-the-number-of-2-element-subsets-a-b-of-1-cdots-1000-such-tha
Use this link as reference