Let

be the identity matrix with row j multiplied by 2. Then

is A with row j multiplied by 2, and

is A with column j multiplied by 2. From
we conclude that A has a diagonal entry and zeroes everywhere else on the jth row and the jth column. In this fashion we conclude that A is diagonal.
It is then easy to show that the diagonal entries are all equal.