Consider the sum of elements in the first row:
(a−b)+(b−c)+(c−a)
=a−b+b−c+c−a
=0
Similarly, the sum of elements in the second row:
(b−c)+(c−a)+(a−b)=0
And the sum of elements in the third row:
(c−a)+(a−b)+(b−c)=0
Since each row sums to zero, applying the column operation C1+C2+C3→C3:
a−bb−cc−ab−cc−aa−b000
When an entire column of a determinant consists of zeros, the determinant equals zero.
Since the third column is entirely zero:
a−bb−cc−ab−cc−aa−bc−aa−bb−c=0
The condition that a, b, and c are distinct prime numbers does not affect this result. The algebraic property that each row sums to zero holds for any distinct values.
Therefore, the value of the determinant is 0.