Problem

Source: III Caucasus Mathematical Olympiad

Tags: number theory



Baron Munсhausen discovered the following theorem: "For any positive integers $a$ and $b$ there exists a positive integer $n$ such that $an$ is a perfect square, while $bn$ is a perfect cube". Determine if the statement of Baron’s theorem is correct.