Problem

Source: New Zealand NZMOC Camp Selection Problems 2018 p2

Tags: number theory, diophantine, Diophantine equation



Find all pairs of integers $(a, b)$ such that $$a^2 + ab - b = 2018.$$