Problem

Source: Federal Mathematical Competition of Serbia and Montenegro 2004

Tags: number theory, Diophantine equation



Find all pairs of positive integers $(a,b)$ such that $5a^b - b = 2004$.