Problem

Source: XIII Polish Junior MO 2018 Finals - Problem 1

Tags: number theory, Perfect Square, powers, Poland



Positive odd integers $a, b$ are such that $a^bb^a$ is a perfect square. Show that $ab$ is a perfect square.