Problem

Source: 1976 USAMO Problem 3

Tags: modular arithmetic



Determine all integral solutions of \[ a^2+b^2+c^2=a^2b^2.\]