Find all pairs of integers such that and divides . (Nikola Adžaga, Petar Bakić)
Croatian Mathematical Society Competitions
Solution
Note that , and that
hence we have two cases:
1)
This implies and , from which we get and .
Therefore, there is no solution in this case.
2)
This implies that and are both squares of integers. That is true only for and , since holds for , and holds for .
Both and yield , i.e. , and among four possibilities only two satisfy the given conditions: and .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.