Find the smallest positive integer such that is a perfect cube, and is a perfect square.
Slovenia — National Math Olympiad
Solution
Since is divisible by , we can write , where is a positive integer divisible neither by nor , while and are non-negative integers. If is a perfect cube, then divides and divides . If is a perfect square, then divides and divides . From this it follows that divides and divides , so is at least and is at least . The smallest possible positive integer is . When this is the case, we get . We see that is indeed a perfect cube and is a perfect square, and we have shown this to be the smallest possible.
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.