Problem

Source: Balkan MO 2014 Shortlist

Tags: number theory



$\boxed{N5}$Let $a,b,c,p,q,r$ be positive integers such that $a^p+b^q+c^r=a^q+b^r+c^p=a^r+b^p+c^q.$ Prove that $a=b=c$ or $p=q=r.$