Problem

Source: Swiss TST 2015. Problem 4

Tags: number theory, relatively prime



Find all relatively prime integers $a,b$ such that $$a^2+a=b^3+b$$