For how many pairs of nonzero integers (c,d) with −2015≤c,d≤2015 do the equations cx=d and dx=c both have an integer solution?
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
We need both c/d and d/c to be integers, which is equivalent to ∣c∣=∣d∣, or d=±c. So there are 4030 ways to pick c and 2 ways to pick d, for a total of 8060 pairs.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: Omni-MATH,
licensed Apache-2.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.