Problem

Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2016

Tags: number theory, Divisibility, FBH, Perfect Square



Let $a$ and $b$ be two positive integers such that $2ab$ divides $a^2+b^2-a$. Prove that $a$ is perfect square