How many different triples (a,b,c) from the set {1,2,3,4,5} satisfy the equation a^2 + bc = b^2 + bc?
$a^2 - b^2 = 0$
$a = b$
$5 \cdot 1 = 5$ ways