The correct option is
C p3−p2Given
A=[abca]: a, b, c∈{0, 1, …., p−1}}
|A|=a2−bc
We will find number of A in Tp such that A is either symmetric or skew-symmetric or neither and |A| is divisible by p
Case I : If A is symmetric
Then b=c
⇒|A|=a2−b2
Since, |A| is divisible by p.
⇒a2−b2 is divisible by p.
⇒(a−b)(a+b) is divisible by p
Now, a−b is divisible by p if a=b , then p cases are possible
and a+b is divisible by p if a+b=0 or a+b=p
For a+b=0, the only solution is a=0,b=0 which is already counted.
Hence, for a+b=p , we have p-1 cases possible as a can take any value from 1,2...p−1
So, total cases =p+p−1=2p−1
Case II: If A is skew-symmetric
Then a=0,b+c=0
⇒|A|=b2
Since, |A| is divisible by p
b2 is divisible by p which is possible only when b=0
When b=0, A will be a zero matrix which is already counted in symmetric matrix.
Hence, no cases possible.
So, 2p-1 matrices are divisible by p
Now, we will find number of A in Tp divisible by p when a≠0,
Since, a≠0 , so values of a can be chosen in p-1 ways.
For each such fixed a we need to determine all ordered pairs (b, c) for which a2−bc is divisible by p.
Let r be the remainder when a2 is divided by p
For a2−bc to be divisible by p is equivalent to saying that the integer bc also leaves the remainder r when divided by p.
Hence, b cannot be 0
So, b can be chosen in p−1 ways and c in only one way.
Hence, number of matrices A in Tp are (p−1)2 when a≠0
Now, since every matrix in Tp is determined by three mutually independent parameters a,b,c each taking p possible values. So, in all there are p3 matrices in the set Tp.
Number of A in Tp which is not divisible by p = Total cases - (|A| divisible by p, when a≠0) -(|A| divisible by p, when a=0)
=p3−(p−1)2−(2p−1)
=p3−p2