I had previously solved $xy=1,000,000;$ $x,y \in \mathbb Z$, I believe: 1,000,000 has 49 factors so there are 49 pairs since $x$ and $y$ could be both positive or both negative.
Please would you help me find as efficient and systematic a way as possible.
EDIT: since there are many solutions, finding how many there are would be fine. However, unfortunately, (1,1,1000000) is considered distinct from (1000000,1,1).
Thank you