Count integer pairs satisfying 1/x + 1/y = 1/N | Microsoft